mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-31 14:24:01 +01:00
296 lines
47 KiB
HTML
296 lines
47 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 `google_dfareporting3d2` crate."><meta name="keywords" content="rust, rustlang, rust-lang, google_dfareporting3d2"><title>google_dfareporting3d2 - 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_dfareporting3d2/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Crate google_dfareporting3d2</p><div class="block version"><p>Version 2.0.0+20190531</p></div><div class="sidebar-elems"><a id="all-types" href="all.html"><p>See all google_dfareporting3d2's items</p></a><div class="block items"><ul><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li></ul></div><p class="location"></p><div id="sidebar-vars" data-name="google_dfareporting3d2" data-ty="mod" data-relpath="../"></div></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">Crate <a class="mod" href="">google_dfareporting3d2</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_dfareporting3d2/lib.rs.html#5-349" title="goto source code">[src]</a></span></h1><div class="docblock"><p>This documentation was generated from <em>dfareporting</em> crate version <em>2.0.0+20190531</em>, where <em>20190531</em> is the exact revision of the <em>dfareporting:v3.2</em> schema built by the <a href="http://www.makotemplates.org/">mako</a> code generator <em>v2.0.0</em>.</p>
|
||
<p>Everything else about the <em>dfareporting</em> <em>v3d2</em> API can be found at the
|
||
<a href="https://developers.google.com/doubleclick-advertisers/">official documentation site</a>.
|
||
The original source code is <a href="https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting3d2">on github</a>.</p>
|
||
<h1 id="features" class="section-header"><a href="#features">Features</a></h1>
|
||
<p>Handle the following <em>Resources</em> with ease from the central <a href="../google_dfareporting3d2/api/struct.Dfareporting.html">hub</a> ... </p>
|
||
<ul>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountActiveAdSummary.html">account active ad summaries</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountActiveAdSummaryGetCall.html"><em>get</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountPermissionGroup.html">account permission groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountPermissionGroupGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.AccountPermissionGroupListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountPermission.html">account permissions</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountPermissionGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.AccountPermissionListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountUserProfile.html">account user profiles</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountUserProfileGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AccountUserProfileInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.AccountUserProfileListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AccountUserProfilePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AccountUserProfileUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Account.html">accounts</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AccountGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AccountListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AccountPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AccountUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Ad.html">ads</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AdGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AdInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.AdListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AdPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AdUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AdvertiserGroup.html">advertiser groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AdvertiserGroupDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserGroupGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserGroupInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserGroupListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserGroupPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AdvertiserGroupUpdateCall.html"><em>update</em></a></li>
|
||
<li>advertiser landing pages</li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AdvertiserLandingPageGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserLandingPageInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserLandingPageListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserLandingPagePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AdvertiserLandingPageUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Advertiser.html">advertisers</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.AdvertiserGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.AdvertiserPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.AdvertiserUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Browser.html">browsers</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.BrowserListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CampaignCreativeAssociation.html">campaign creative associations</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CampaignCreativeAssociationInsertCall.html"><em>insert</em></a> and <a href="../google_dfareporting3d2/api/struct.CampaignCreativeAssociationListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Campaign.html">campaigns</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CampaignGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.CampaignInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.CampaignListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.CampaignPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.CampaignUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ChangeLog.html">change logs</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ChangeLogGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.ChangeLogListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.City.html">cities</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CityListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ConnectionType.html">connection types</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ConnectionTypeGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.ConnectionTypeListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ContentCategory.html">content categories</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ContentCategoryDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.ContentCategoryGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.ContentCategoryInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.ContentCategoryListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.ContentCategoryPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.ContentCategoryUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Conversion.html">conversions</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ConversionBatchinsertCall.html"><em>batchinsert</em></a> and <a href="../google_dfareporting3d2/api/struct.ConversionBatchupdateCall.html"><em>batchupdate</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Country.html">countries</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CountryGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.CountryListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeAsset.html">creative assets</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeAssetInsertCall.html"><em>insert</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeFieldValue.html">creative field values</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeFieldValueDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldValueGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldValueInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldValueListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldValuePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.CreativeFieldValueUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeField.html">creative fields</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeFieldDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeFieldPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.CreativeFieldUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeGroup.html">creative groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeGroupGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeGroupInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeGroupListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeGroupPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.CreativeGroupUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Creative.html">creatives</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativeListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.CreativePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.CreativeUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DimensionValue.html">dimension values</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DimensionValueQueryCall.html"><em>query</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DirectorySiteContact.html">directory site contacts</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DirectorySiteContactGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.DirectorySiteContactListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DirectorySite.html">directory sites</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DirectorySiteGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.DirectorySiteInsertCall.html"><em>insert</em></a> and <a href="../google_dfareporting3d2/api/struct.DirectorySiteListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DynamicTargetingKey.html">dynamic targeting keys</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.DynamicTargetingKeyDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.DynamicTargetingKeyInsertCall.html"><em>insert</em></a> and <a href="../google_dfareporting3d2/api/struct.DynamicTargetingKeyListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.EventTag.html">event tags</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.EventTagDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.EventTagGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.EventTagInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.EventTagListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.EventTagPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.EventTagUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.File.html">files</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FileGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.FileListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightActivity.html">floodlight activities</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightActivityDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGeneratetagCall.html"><em>generatetag</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.FloodlightActivityUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroup.html">floodlight activity groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroupGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroupInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroupListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroupPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.FloodlightActivityGroupUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightConfiguration.html">floodlight configurations</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FloodlightConfigurationGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightConfigurationListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.FloodlightConfigurationPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.FloodlightConfigurationUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.InventoryItem.html">inventory items</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.InventoryItemGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.InventoryItemListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Language.html">languages</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.LanguageListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Metro.html">metros</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.MetroListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.MobileApp.html">mobile apps</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.MobileAppGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.MobileAppListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.MobileCarrier.html">mobile carriers</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.MobileCarrierGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.MobileCarrierListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OperatingSystemVersion.html">operating system versions</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OperatingSystemVersionGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.OperatingSystemVersionListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OperatingSystem.html">operating systems</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OperatingSystemGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.OperatingSystemListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OrderDocument.html">order documents</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OrderDocumentGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.OrderDocumentListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Order.html">orders</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.OrderGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.OrderListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlacementGroup.html">placement groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlacementGroupGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementGroupInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementGroupListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementGroupPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.PlacementGroupUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlacementStrategy.html">placement strategies</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlacementStrategyDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementStrategyGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementStrategyInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementStrategyListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementStrategyPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.PlacementStrategyUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Placement.html">placements</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlacementGeneratetagCall.html"><em>generatetags</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.PlacementPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.PlacementUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlatformType.html">platform types</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PlatformTypeGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.PlatformTypeListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PostalCode.html">postal codes</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.PostalCodeGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.PostalCodeListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Project.html">projects</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ProjectGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.ProjectListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Region.html">regions</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.RegionListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.RemarketingListShare.html">remarketing list shares</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.RemarketingListShareGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.RemarketingListSharePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.RemarketingListShareUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.RemarketingList.html">remarketing lists</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.RemarketingListGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.RemarketingListInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.RemarketingListListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.RemarketingListPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.RemarketingListUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Report.html">reports</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ReportCompatibleFieldQueryCall.html"><em>compatible fields query</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportFileGetCall.html"><em>files get</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportFileListCall.html"><em>files list</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportPatchCall.html"><em>patch</em></a>, <a href="../google_dfareporting3d2/api/struct.ReportRunCall.html"><em>run</em></a> and <a href="../google_dfareporting3d2/api/struct.ReportUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Site.html">sites</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.SiteGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.SiteInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.SiteListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.SitePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.SiteUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Size.html">sizes</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.SizeGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.SizeInsertCall.html"><em>insert</em></a> and <a href="../google_dfareporting3d2/api/struct.SizeListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.Subaccount.html">subaccounts</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.SubaccountGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.SubaccountInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.SubaccountListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.SubaccountPatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.SubaccountUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.TargetableRemarketingList.html">targetable remarketing lists</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.TargetableRemarketingListGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.TargetableRemarketingListListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.TargetingTemplate.html">targeting templates</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.TargetingTemplateGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.TargetingTemplateInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.TargetingTemplateListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.TargetingTemplatePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.TargetingTemplateUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserProfile.html">user profiles</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserProfileGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.UserProfileListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRolePermissionGroup.html">user role permission groups</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRolePermissionGroupGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.UserRolePermissionGroupListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRolePermission.html">user role permissions</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRolePermissionGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.UserRolePermissionListCall.html"><em>list</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRole.html">user roles</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.UserRoleDeleteCall.html"><em>delete</em></a>, <a href="../google_dfareporting3d2/api/struct.UserRoleGetCall.html"><em>get</em></a>, <a href="../google_dfareporting3d2/api/struct.UserRoleInsertCall.html"><em>insert</em></a>, <a href="../google_dfareporting3d2/api/struct.UserRoleListCall.html"><em>list</em></a>, <a href="../google_dfareporting3d2/api/struct.UserRolePatchCall.html"><em>patch</em></a> and <a href="../google_dfareporting3d2/api/struct.UserRoleUpdateCall.html"><em>update</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.VideoFormat.html">video formats</a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.VideoFormatGetCall.html"><em>get</em></a> and <a href="../google_dfareporting3d2/api/struct.VideoFormatListCall.html"><em>list</em></a></li>
|
||
</ul>
|
||
<p>Upload supported by ...</p>
|
||
<ul>
|
||
<li><a href="../google_dfareporting3d2/api/struct.CreativeAssetInsertCall.html"><em>insert creative assets</em></a></li>
|
||
</ul>
|
||
<p>Download supported by ...</p>
|
||
<ul>
|
||
<li><a href="../google_dfareporting3d2/api/struct.FileGetCall.html"><em>get files</em></a></li>
|
||
<li><a href="../google_dfareporting3d2/api/struct.ReportFileGetCall.html"><em>files get reports</em></a></li>
|
||
</ul>
|
||
<p>Not what you are looking for ? Find all other Google APIs in their Rust <a href="http://byron.github.io/google-apis-rs">documentation index</a>.</p>
|
||
<h1 id="structure-of-this-library" class="section-header"><a href="#structure-of-this-library">Structure of this Library</a></h1>
|
||
<p>The API is structured into the following primary items:</p>
|
||
<ul>
|
||
<li><strong><a href="../google_dfareporting3d2/api/struct.Dfareporting.html">Hub</a></strong>
|
||
<ul>
|
||
<li>a central object to maintain state and allow accessing all <em>Activities</em></li>
|
||
<li>creates <a href="../google_dfareporting3d2/client/trait.MethodsBuilder.html"><em>Method Builders</em></a> which in turn
|
||
allow access to individual <a href="../google_dfareporting3d2/client/trait.CallBuilder.html"><em>Call Builders</em></a></li>
|
||
</ul>
|
||
</li>
|
||
<li><strong><a href="../google_dfareporting3d2/client/trait.Resource.html">Resources</a></strong>
|
||
<ul>
|
||
<li>primary types that you can apply <em>Activities</em> to</li>
|
||
<li>a collection of properties and <em>Parts</em></li>
|
||
<li><strong><a href="../google_dfareporting3d2/client/trait.Part.html">Parts</a></strong>
|
||
<ul>
|
||
<li>a collection of properties</li>
|
||
<li>never directly used in <em>Activities</em></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
<li><strong><a href="../google_dfareporting3d2/client/trait.CallBuilder.html">Activities</a></strong>
|
||
<ul>
|
||
<li>operations to apply to <em>Resources</em></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<p>All <em>structures</em> are marked with applicable traits to further categorize them and ease browsing.</p>
|
||
<p>Generally speaking, you can invoke <em>Activities</em> like this:</p>
|
||
<pre><code class="language-Rust,ignore">let r = hub.resource().activity(...).doit().await
|
||
</code></pre>
|
||
<p>Or specifically ...</p>
|
||
|
||
<div class='information'><div class='tooltip ignore'>ⓘ</div></div><div class="example-wrap"><pre class="rust rust-example-rendered ignore">
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">compatible_fields_query</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">files_get</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">files_list</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">delete</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">get</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">insert</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">list</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">patch</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">run</span>(...).<span class="ident">doit</span>().<span class="kw">await</span>
|
||
<span class="kw">let</span> <span class="ident">r</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">update</span>(...).<span class="ident">doit</span>().<span class="kw">await</span></pre></div>
|
||
<p>The <code>resource()</code> and <code>activity(...)</code> calls create <a href="http://en.wikipedia.org/wiki/Builder_pattern">builders</a>. The second one dealing with <code>Activities</code>
|
||
supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be
|
||
specified right away (i.e. <code>(...)</code>), whereas all optional ones can be <a href="http://en.wikipedia.org/wiki/Builder_pattern">build up</a> as desired.
|
||
The <code>doit()</code> method performs the actual communication with the server and returns the respective result.</p>
|
||
<h1 id="usage" class="section-header"><a href="#usage">Usage</a></h1><h2 id="setting-up-your-project" class="section-header"><a href="#setting-up-your-project">Setting up your Project</a></h2>
|
||
<p>To use this library, you would put the following lines into your <code>Cargo.toml</code> file:</p>
|
||
<pre><code class="language-toml">[dependencies]
|
||
google-dfareporting3d2 = "*"
|
||
# This project intentionally uses an old version of Hyper. See
|
||
# https://github.com/Byron/google-apis-rs/issues/173 for more
|
||
# information.
|
||
hyper = "^0.14"
|
||
hyper-rustls = "^0.22"
|
||
serde = "^1.0"
|
||
serde_json = "^1.0"
|
||
yup-oauth2 = "^5.0"
|
||
</code></pre>
|
||
<h2 id="a-complete-example" class="section-header"><a href="#a-complete-example">A complete example</a></h2>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered">
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">hyper_rustls</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">yup_oauth2</span> <span class="kw">as</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">google_dfareporting3d2</span> <span class="kw">as</span> <span class="ident">dfareporting3d2</span>;
|
||
<span class="kw">use</span> <span class="ident">dfareporting3d2</span>::{<span class="prelude-ty">Result</span>, <span class="ident">Error</span>};
|
||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">default</span>::<span class="ident">Default</span>;
|
||
<span class="kw">use</span> <span class="ident">oauth2</span>;
|
||
<span class="kw">use</span> <span class="ident">dfareporting3d2</span>::<span class="ident">Dfareporting</span>;
|
||
|
||
<span class="comment">// Get an ApplicationSecret instance by some means. It contains the `client_id` and </span>
|
||
<span class="comment">// `client_secret`, among other things.</span>
|
||
<span class="kw">let</span> <span class="ident">secret</span>: <span class="ident">oauth2</span>::<span class="ident">ApplicationSecret</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||
<span class="comment">// Instantiate the authenticator. It will choose a suitable authentication flow for you, </span>
|
||
<span class="comment">// unless you replace `None` with the desired Flow.</span>
|
||
<span class="comment">// Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about </span>
|
||
<span class="comment">// what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and</span>
|
||
<span class="comment">// retrieve them from storage.</span>
|
||
<span class="kw">let</span> <span class="ident">auth</span> <span class="op">=</span> <span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowAuthenticator</span>::<span class="ident">builder</span>(
|
||
<span class="ident">secret</span>,
|
||
<span class="ident">yup_oauth2</span>::<span class="ident">InstalledFlowReturnMethod</span>::<span class="ident">HTTPRedirect</span>,
|
||
).<span class="ident">build</span>().<span class="kw">await</span>.<span class="ident">unwrap</span>();
|
||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">hub</span> <span class="op">=</span> <span class="ident">Dfareporting</span>::<span class="ident">new</span>(<span class="ident">hyper</span>::<span class="ident">Client</span>::<span class="ident">builder</span>().<span class="ident">build</span>(<span class="ident">hyper_rustls</span>::<span class="ident">HttpsConnector</span>::<span class="ident">with_native_roots</span>()), <span class="ident">auth</span>);
|
||
<span class="comment">// You can configure optional parameters by calling the respective setters at will, and</span>
|
||
<span class="comment">// execute the final call using `doit()`.</span>
|
||
<span class="comment">// Values shown here are possibly random and not representative !</span>
|
||
<span class="kw">let</span> <span class="ident">result</span> <span class="op">=</span> <span class="ident">hub</span>.<span class="ident">reports</span>().<span class="ident">files_list</span>(<span class="string">"profileId"</span>, <span class="string">"reportId"</span>)
|
||
.<span class="ident">sort_order</span>(<span class="string">"amet."</span>)
|
||
.<span class="ident">sort_field</span>(<span class="string">"takimata"</span>)
|
||
.<span class="ident">page_token</span>(<span class="string">"amet."</span>)
|
||
.<span class="ident">max_results</span>(<span class="op">-</span><span class="number">20</span>)
|
||
.<span class="ident">doit</span>().<span class="kw">await</span>;
|
||
|
||
<span class="kw">match</span> <span class="ident">result</span> {
|
||
<span class="prelude-val">Err</span>(<span class="ident">e</span>) <span class="op">=</span><span class="op">></span> <span class="kw">match</span> <span class="ident">e</span> {
|
||
<span class="comment">// The Error enum provides details about what exactly happened.</span>
|
||
<span class="comment">// You can also just use its `Debug`, `Display` or `Error` traits</span>
|
||
<span class="ident">Error</span>::<span class="ident">HttpError</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">Io</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">MissingAPIKey</span>
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">MissingToken</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">Cancelled</span>
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">UploadSizeLimitExceeded</span>(<span class="kw">_</span>, <span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">Failure</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">BadRequest</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">FieldClash</span>(<span class="kw">_</span>)
|
||
<span class="op">|</span><span class="ident">Error</span>::<span class="ident">JsonDecodeError</span>(<span class="kw">_</span>, <span class="kw">_</span>) <span class="op">=</span><span class="op">></span> <span class="macro">println</span><span class="macro">!</span>(<span class="string">"{}"</span>, <span class="ident">e</span>),
|
||
},
|
||
<span class="prelude-val">Ok</span>(<span class="ident">res</span>) <span class="op">=</span><span class="op">></span> <span class="macro">println</span><span class="macro">!</span>(<span class="string">"Success: {:?}"</span>, <span class="ident">res</span>),
|
||
}</pre></div>
|
||
<h2 id="handling-errors" class="section-header"><a href="#handling-errors">Handling Errors</a></h2>
|
||
<p>All errors produced by the system are provided either as <a href="../google_dfareporting3d2/client/type.Result.html">Result</a> enumeration as return value of
|
||
the doit() methods, or handed as possibly intermediate results to either the
|
||
<a href="../google_dfareporting3d2/client/trait.Delegate.html">Hub Delegate</a>, or the <a href="https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html">Authenticator Delegate</a>.</p>
|
||
<p>When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
|
||
makes the system potentially resilient to all kinds of errors.</p>
|
||
<h2 id="uploads-and-downloads" class="section-header"><a href="#uploads-and-downloads">Uploads and Downloads</a></h2>
|
||
<p>If a method supports downloads, the response body, which is part of the <a href="../google_dfareporting3d2/client/type.Result.html">Result</a>, should be
|
||
read by you to obtain the media.
|
||
If such a method also supports a <a href="../google_dfareporting3d2/client/trait.ResponseResult.html">Response Result</a>, it will return that by default.
|
||
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
|
||
this call: <code>.param("alt", "media")</code>.</p>
|
||
<p>Methods supporting uploads can do so using up to 2 different protocols:
|
||
<em>simple</em> and <em>resumable</em>. The distinctiveness of each is represented by customized
|
||
<code>doit(...)</code> methods, which are then named <code>upload(...)</code> and <code>upload_resumable(...)</code> respectively.</p>
|
||
<h2 id="customization-and-callbacks" class="section-header"><a href="#customization-and-callbacks">Customization and Callbacks</a></h2>
|
||
<p>You may alter the way an <code>doit()</code> method is called by providing a <a href="../google_dfareporting3d2/client/trait.Delegate.html">delegate</a> to the
|
||
<a href="../google_dfareporting3d2/client/trait.CallBuilder.html">Method Builder</a> before making the final <code>doit()</code> call.
|
||
Respective methods will be called to provide progress information, as well as determine whether the system should
|
||
retry on failure.</p>
|
||
<p>The <a href="../google_dfareporting3d2/client/trait.Delegate.html">delegate trait</a> is default-implemented, allowing you to customize it with minimal effort.</p>
|
||
<h2 id="optional-parts-in-server-requests" class="section-header"><a href="#optional-parts-in-server-requests">Optional Parts in Server-Requests</a></h2>
|
||
<p>All structures provided by this library are made to be <a href="../google_dfareporting3d2/client/trait.RequestValue.html">encodable</a> and
|
||
<a href="../google_dfareporting3d2/client/trait.ResponseResult.html">decodable</a> via <em>json</em>. Optionals are used to indicate that partial requests are responses
|
||
are valid.
|
||
Most optionals are are considered <a href="../google_dfareporting3d2/client/trait.Part.html">Parts</a> which are identifiable by name, which will be sent to
|
||
the server to indicate either the set parts of the request or the desired parts in the response.</p>
|
||
<h2 id="builder-arguments" class="section-header"><a href="#builder-arguments">Builder Arguments</a></h2>
|
||
<p>Using <a href="../google_dfareporting3d2/client/trait.CallBuilder.html">method builders</a>, you are able to prepare an action call by repeatedly calling it's methods.
|
||
These will always take a single argument, for which the following statements are true.</p>
|
||
<ul>
|
||
<li><a href="http://en.wikipedia.org/wiki/Plain_old_data_structure">PODs</a> are handed by copy</li>
|
||
<li>strings are passed as <code>&str</code></li>
|
||
<li><a href="../google_dfareporting3d2/client/trait.RequestValue.html">request values</a> are moved</li>
|
||
</ul>
|
||
<p>Arguments will always be copied or cloned into the builder, to make them independent of their original life times.</p>
|
||
</div><h2 id="reexports" class="section-header"><a href="#reexports">Re-exports</a></h2>
|
||
<table><tr><td><code>pub use api::<a class="struct" href="../google_dfareporting3d2/api/struct.Dfareporting.html" title="struct google_dfareporting3d2::api::Dfareporting">Dfareporting</a>;</code></td></tr><tr><td><code>pub use client::<a class="type" href="../google_dfareporting3d2/client/type.Result.html" title="type google_dfareporting3d2::client::Result">Result</a>;</code></td></tr><tr><td><code>pub use client::<a class="enum" href="../google_dfareporting3d2/client/enum.Error.html" title="enum google_dfareporting3d2::client::Error">Error</a>;</code></td></tr><tr><td><code>pub use client::<a class="trait" href="../google_dfareporting3d2/client/trait.Delegate.html" title="trait google_dfareporting3d2::client::Delegate">Delegate</a>;</code></td></tr></table><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
|
||
<table><tr class="module-item"><td><a class="mod" href="api/index.html" title="google_dfareporting3d2::api mod">api</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="mod" href="client/index.html" title="google_dfareporting3d2::client mod">client</a></td><td class="docblock-short"></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_dfareporting3d2"></div>
|
||
<script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |