mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
22 lines
7.4 KiB
HTML
22 lines
7.4 KiB
HTML
<!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 `api` mod in crate `google_appstate1`."><meta name="keywords" content="rust, rustlang, rust-lang, api"><title>google_appstate1::api - 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 id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><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">☰</div><a href='../../google_appstate1/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module api</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../index.html">google_appstate1</a></p><div id="sidebar-vars" data-name="api" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></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><button type="button" class="help-button">?</button>
|
||
<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="in-band">Module <a href="../index.html">google_appstate1</a>::<wbr><a class="mod" href="">api</a></span><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">−</span>]</a></span><a class="srclink" href="../../src/google_appstate1/api.rs.html#1-1714" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||
<table><tr class="module-item"><td><a class="struct" href="struct.AppState.html" title="google_appstate1::api::AppState struct">AppState</a></td><td class="docblock-short"><p>Central instance to access all AppState related resource activities</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.GetResponse.html" title="google_appstate1::api::GetResponse struct">GetResponse</a></td><td class="docblock-short"><p>This is a JSON template for an app state resource.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ListResponse.html" title="google_appstate1::api::ListResponse struct">ListResponse</a></td><td class="docblock-short"><p>This is a JSON template to convert a list-response for app state.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateClearCall.html" title="google_appstate1::api::StateClearCall struct">StateClearCall</a></td><td class="docblock-short"><p>Clears (sets to empty) the data for the passed key if and only if the passed version matches the currently stored version. This method results in a conflict error on version mismatch.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateDeleteCall.html" title="google_appstate1::api::StateDeleteCall struct">StateDeleteCall</a></td><td class="docblock-short"><p>Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result in data loss and data corruption.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateGetCall.html" title="google_appstate1::api::StateGetCall struct">StateGetCall</a></td><td class="docblock-short"><p>Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateListCall.html" title="google_appstate1::api::StateListCall struct">StateListCall</a></td><td class="docblock-short"><p>Lists all the states keys, and optionally the state data.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateMethods.html" title="google_appstate1::api::StateMethods struct">StateMethods</a></td><td class="docblock-short"><p>A builder providing access to all methods supported on <em>state</em> resources.
|
||
It is not used directly, but through the <code>AppState</code> hub.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.StateUpdateCall.html" title="google_appstate1::api::StateUpdateCall struct">StateUpdateCall</a></td><td class="docblock-short"><p>Update the data associated with the input key if and only if the passed version matches the currently stored version. This method is safe in the face of concurrent writes. Maximum per-key size is 128KB.</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.UpdateRequest.html" title="google_appstate1::api::UpdateRequest struct">UpdateRequest</a></td><td class="docblock-short"><p>This is a JSON template for a requests which update app state</p>
|
||
</td></tr><tr class="module-item"><td><a class="struct" href="struct.WriteResult.html" title="google_appstate1::api::WriteResult struct">WriteResult</a></td><td class="docblock-short"><p>This is a JSON template for an app state write result.</p>
|
||
</td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
|
||
<table><tr class="module-item"><td><a class="enum" href="enum.Scope.html" title="google_appstate1::api::Scope enum">Scope</a></td><td class="docblock-short"><p>Identifies the an OAuth2 authorization scope.
|
||
A scope is needed when requesting an
|
||
<a href="https://developers.google.com/youtube/v3/guides/authentication">authorization token</a>.</p>
|
||
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_appstate1"></div>
|
||
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |