Skip to content

Commit

Permalink
[skip ci] Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Oct 21, 2020
1 parent 03dc63b commit aba1451
Show file tree
Hide file tree
Showing 31 changed files with 213 additions and 51 deletions.
5 changes: 5 additions & 0 deletions book/appendix/changelog.html
Expand Up @@ -184,6 +184,11 @@ <h1><a class="header" href="#unreleased-changes" id="unreleased-changes">Unrelea
<li>Expose the description of the metric types in glean_core using traits.</li>
</ul>
</li>
<li>Rust
<ul>
<li>Add the <code>BooleanMetric</code> type.</li>
</ul>
</li>
<li>Android
<ul>
<li>Update the JNA dependency from 5.2.0 to 5.6.0</li>
Expand Down
5 changes: 5 additions & 0 deletions book/print.html
Expand Up @@ -7945,6 +7945,11 @@ <h2><a class="header" href="#this-week-in-glean-twig" id="this-week-in-glean-twi
<li>Expose the description of the metric types in glean_core using traits.</li>
</ul>
</li>
<li>Rust
<ul>
<li>Add the <code>BooleanMetric</code> type.</li>
</ul>
</li>
<li>Android
<ul>
<li>Update the JNA dependency from 5.2.0 to 5.6.0</li>
Expand Down
2 changes: 1 addition & 1 deletion book/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/glean/all.html
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><meta name="keywords" content="rust, rustlang, rust-lang"><title>List of all items in this crate</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../glean/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate glean</p><div class='block version'><p>Version 33.0.4</p></div><a id='all-types' href='index.html'><p>Back to index</p></a></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span>
</span>
<span class='in-band'>List of all items</span></h1><h3 id='Structs'>Structs</h3><ul class='structs docblock'><li><a href='struct.ClientInfoMetrics.html'>ClientInfoMetrics</a></li><li><a href='struct.CommonMetricData.html'>CommonMetricData</a></li><li><a href='struct.Configuration.html'>Configuration</a></li><li><a href='struct.Error.html'>Error</a></li><li><a href='struct.Glean.html'>Glean</a></li><li><a href='metrics/struct.PingType.html'>metrics::PingType</a></li></ul><h3 id='Enums'>Enums</h3><ul class='enums docblock'><li><a href='enum.Lifetime.html'>Lifetime</a></li></ul><h3 id='Functions'>Functions</h3><ul class='functions docblock'><li><a href='fn.global_glean.html'>global_glean</a></li><li><a href='fn.initialize.html'>initialize</a></li><li><a href='fn.is_upload_enabled.html'>is_upload_enabled</a></li><li><a href='fn.register_ping_type.html'>register_ping_type</a></li><li><a href='fn.set_upload_enabled.html'>set_upload_enabled</a></li><li><a href='fn.setup_glean.html'>setup_glean</a></li><li><a href='fn.submit_ping.html'>submit_ping</a></li><li><a href='fn.submit_ping_by_name.html'>submit_ping_by_name</a></li></ul><h3 id='Typedefs'>Typedefs</h3><ul class='typedefs docblock'><li><a href='type.Result.html'>Result</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "glean";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
<span class='in-band'>List of all items</span></h1><h3 id='Structs'>Structs</h3><ul class='structs docblock'><li><a href='struct.ClientInfoMetrics.html'>ClientInfoMetrics</a></li><li><a href='struct.CommonMetricData.html'>CommonMetricData</a></li><li><a href='struct.Configuration.html'>Configuration</a></li><li><a href='struct.Error.html'>Error</a></li><li><a href='struct.Glean.html'>Glean</a></li><li><a href='private/struct.BooleanMetric.html'>private::BooleanMetric</a></li><li><a href='private/struct.PingType.html'>private::PingType</a></li></ul><h3 id='Enums'>Enums</h3><ul class='enums docblock'><li><a href='enum.Lifetime.html'>Lifetime</a></li></ul><h3 id='Functions'>Functions</h3><ul class='functions docblock'><li><a href='fn.global_glean.html'>global_glean</a></li><li><a href='fn.initialize.html'>initialize</a></li><li><a href='fn.is_upload_enabled.html'>is_upload_enabled</a></li><li><a href='fn.register_ping_type.html'>register_ping_type</a></li><li><a href='fn.set_upload_enabled.html'>set_upload_enabled</a></li><li><a href='fn.setup_glean.html'>setup_glean</a></li><li><a href='fn.submit_ping.html'>submit_ping</a></li><li><a href='fn.submit_ping_by_name.html'>submit_ping_by_name</a></li></ul><h3 id='Typedefs'>Typedefs</h3><ul class='typedefs docblock'><li><a href='type.Result.html'>Result</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "glean";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/glean/fn.register_ping_type.html
@@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `register_ping_type` fn in crate `glean`."><meta name="keywords" content="rust, rustlang, rust-lang, register_ping_type"><title>glean::register_ping_type - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../glean/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class='location'><a href='index.html'>glean</a></p><script>window.sidebarCurrent = {name: 'register_ping_type', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/glean/lib.rs.html#185-189' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>glean</a>::<wbr><a class="fn" href=''>register_ping_type</a></span></h1><pre class='rust fn'>pub fn register_ping_type(ping: &amp;<a class="struct" href="../glean/metrics/struct.PingType.html" title="struct glean::metrics::PingType">PingType</a>)</pre><div class='docblock'><p>Register a new <a href="metrics/struct.PingType.html"><code>PingType</code></a>.</p>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/glean/lib.rs.html#185-189' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>glean</a>::<wbr><a class="fn" href=''>register_ping_type</a></span></h1><pre class='rust fn'>pub fn register_ping_type(ping: &amp;<a class="struct" href="../glean/private/struct.PingType.html" title="struct glean::private::PingType">PingType</a>)</pre><div class='docblock'><p>Register a new <a href="metrics/struct.PingType.html"><code>PingType</code></a>.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "glean";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/glean/fn.submit_ping.html
@@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `submit_ping` fn in crate `glean`."><meta name="keywords" content="rust, rustlang, rust-lang, submit_ping"><title>glean::submit_ping - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../glean/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class='location'><a href='index.html'>glean</a></p><script>window.sidebarCurrent = {name: 'submit_ping', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><span class="help-button">?</span>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/glean/lib.rs.html#198-200' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>glean</a>::<wbr><a class="fn" href=''>submit_ping</a></span></h1><pre class='rust fn'>pub fn submit_ping(ping: &amp;<a class="struct" href="../glean/metrics/struct.PingType.html" title="struct glean::metrics::PingType">PingType</a>, reason: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></pre><div class='docblock'><p>Collects and submits a ping for eventual uploading.</p>
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/glean/lib.rs.html#198-200' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='index.html'>glean</a>::<wbr><a class="fn" href=''>submit_ping</a></span></h1><pre class='rust fn'>pub fn submit_ping(ping: &amp;<a class="struct" href="../glean/private/struct.PingType.html" title="struct glean::private::PingType">PingType</a>, reason: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></pre><div class='docblock'><p>Collects and submits a ping for eventual uploading.</p>
<p>See <code>glean_core::Glean.submit_ping</code>.</p>
<h1 id="returns" class="section-header"><a href="#returns">Returns</a></h1>
<p>Whether the ping was successfully assembled and queued.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/glean/index.html
Expand Up @@ -22,7 +22,7 @@ <h2 id="the-glean-sdk-book" class="section-header"><a href="#the-glean-sdk-book"

<span class="ident">prototype_ping</span>.<span class="ident">submit</span>(<span class="prelude-val">None</span>);</pre></div>
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
<table><tr class='module-item'><td><a class="mod" href="metrics/index.html" title='glean::metrics mod'>metrics</a></td><td class='docblock-short'><p>The different metric types supported by the Glean SDK to handle data.</p>
<table><tr class='module-item'><td><a class="mod" href="private/index.html" title='glean::private mod'>private</a></td><td class='docblock-short'><p>The different metric types supported by the Glean SDK to handle data.</p>
</td></tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.ClientInfoMetrics.html" title='glean::ClientInfoMetrics struct'>ClientInfoMetrics</a></td><td class='docblock-short'><p>Metrics included in every ping as <code>client_info</code>.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.CommonMetricData.html" title='glean::CommonMetricData struct'>CommonMetricData</a></td><td class='docblock-short'><p>The common set of data shared across all different metric types.</p>
Expand Down
10 changes: 0 additions & 10 deletions docs/glean/metrics/ping/struct.PingType.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/glean/metrics/sidebar-items.js

This file was deleted.

10 changes: 10 additions & 0 deletions docs/glean/private/boolean/struct.BooleanMetric.html
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../glean/private/struct.BooleanMetric.html">
</head>
<body>
<p>Redirecting to <a href="../../../glean/private/struct.BooleanMetric.html">../../../glean/private/struct.BooleanMetric.html</a>...</p>
<script>location.replace("../../../glean/private/struct.BooleanMetric.html" + location.search + location.hash);</script>
</body>
</html>

0 comments on commit aba1451

Please sign in to comment.