google_displayvideo1/lib.rs
1// DO NOT EDIT !
2// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
3// DO NOT EDIT !
4
5//! This documentation was generated from *Display Video* crate version *7.0.0+20251204*, where *20251204* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v7.0.0*.
6//!
7//! Everything else about the *Display Video* *v1* API can be found at the
8//! [official documentation site](https://developers.google.com/display-video/).
9//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/displayvideo1).
10//! # Features
11//!
12//! Handle the following *Resources* with ease from the central [hub](DisplayVideo) ...
13//!
14//! * [advertisers](api::Advertiser)
15//! * [*assets upload*](api::AdvertiserAssetUploadCall), [*audit*](api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns create*](api::AdvertiserCampaignCreateCall), [*campaigns delete*](api::AdvertiserCampaignDeleteCall), [*campaigns get*](api::AdvertiserCampaignGetCall), [*campaigns list*](api::AdvertiserCampaignListCall), [*campaigns patch*](api::AdvertiserCampaignPatchCall), [*channels create*](api::AdvertiserChannelCreateCall), [*channels get*](api::AdvertiserChannelGetCall), [*channels list*](api::AdvertiserChannelListCall), [*channels patch*](api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](api::AdvertiserChannelSiteListCall), [*channels sites replace*](api::AdvertiserChannelSiteReplaceCall), [*create*](api::AdvertiserCreateCall), [*creatives create*](api::AdvertiserCreativeCreateCall), [*creatives delete*](api::AdvertiserCreativeDeleteCall), [*creatives get*](api::AdvertiserCreativeGetCall), [*creatives list*](api::AdvertiserCreativeListCall), [*creatives patch*](api::AdvertiserCreativePatchCall), [*delete*](api::AdvertiserDeleteCall), [*get*](api::AdvertiserGetCall), [*insertion orders create*](api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](api::AdvertiserInsertionOrderPatchCall), [*invoices list*](api::AdvertiserInvoiceListCall), [*invoices lookup invoice currency*](api::AdvertiserInvoiceLookupInvoiceCurrencyCall), [*line items bulk edit line item assigned targeting options*](api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](api::AdvertiserLineItemCreateCall), [*line items delete*](api::AdvertiserLineItemDeleteCall), [*line items get*](api::AdvertiserLineItemGetCall), [*line items list*](api::AdvertiserLineItemListCall), [*line items patch*](api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](api::AdvertiserListCall), [*location lists assigned locations bulk edit*](api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](api::AdvertiserLocationListCreateCall), [*location lists get*](api::AdvertiserLocationListGetCall), [*location lists list*](api::AdvertiserLocationListListCall), [*location lists patch*](api::AdvertiserLocationListPatchCall), [*manual triggers activate*](api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](api::AdvertiserManualTriggerGetCall), [*manual triggers list*](api::AdvertiserManualTriggerListCall), [*manual triggers patch*](api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](api::AdvertiserNegativeKeywordListPatchCall), [*patch*](api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](api::AdvertiserTargetingTypeAssignedTargetingOptionListCall)
16//! * [combined audiences](api::CombinedAudience)
17//! * [*get*](api::CombinedAudienceGetCall) and [*list*](api::CombinedAudienceListCall)
18//! * [custom bidding algorithms](api::CustomBiddingAlgorithm)
19//! * [*create*](api::CustomBiddingAlgorithmCreateCall), [*get*](api::CustomBiddingAlgorithmGetCall), [*list*](api::CustomBiddingAlgorithmListCall), [*patch*](api::CustomBiddingAlgorithmPatchCall), [*scripts create*](api::CustomBiddingAlgorithmScriptCreateCall), [*scripts get*](api::CustomBiddingAlgorithmScriptGetCall), [*scripts list*](api::CustomBiddingAlgorithmScriptListCall) and [*upload script*](api::CustomBiddingAlgorithmUploadScriptCall)
20//! * [custom lists](api::CustomList)
21//! * [*get*](api::CustomListGetCall) and [*list*](api::CustomListListCall)
22//! * [floodlight groups](api::FloodlightGroup)
23//! * [*get*](api::FloodlightGroupGetCall) and [*patch*](api::FloodlightGroupPatchCall)
24//! * [google audiences](api::GoogleAudience)
25//! * [*get*](api::GoogleAudienceGetCall) and [*list*](api::GoogleAudienceListCall)
26//! * [guaranteed orders](api::GuaranteedOrder)
27//! * [*create*](api::GuaranteedOrderCreateCall), [*edit guaranteed order read accessors*](api::GuaranteedOrderEditGuaranteedOrderReadAccessorCall), [*get*](api::GuaranteedOrderGetCall), [*list*](api::GuaranteedOrderListCall) and [*patch*](api::GuaranteedOrderPatchCall)
28//! * [inventory source groups](api::InventorySourceGroup)
29//! * [*assigned inventory sources bulk edit*](api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](api::InventorySourceGroupCreateCall), [*delete*](api::InventorySourceGroupDeleteCall), [*get*](api::InventorySourceGroupGetCall), [*list*](api::InventorySourceGroupListCall) and [*patch*](api::InventorySourceGroupPatchCall)
30//! * [inventory sources](api::InventorySource)
31//! * [*create*](api::InventorySourceCreateCall), [*edit inventory source read write accessors*](api::InventorySourceEditInventorySourceReadWriteAccessorCall), [*get*](api::InventorySourceGetCall), [*list*](api::InventorySourceListCall) and [*patch*](api::InventorySourcePatchCall)
32//! * media
33//! * [*download*](api::MediaDownloadCall) and [*upload*](api::MediaUploadCall)
34//! * [partners](api::Partner)
35//! * [*bulk edit partner assigned targeting options*](api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](api::PartnerChannelCreateCall), [*channels get*](api::PartnerChannelGetCall), [*channels list*](api::PartnerChannelListCall), [*channels patch*](api::PartnerChannelPatchCall), [*channels sites bulk edit*](api::PartnerChannelSiteBulkEditCall), [*channels sites create*](api::PartnerChannelSiteCreateCall), [*channels sites delete*](api::PartnerChannelSiteDeleteCall), [*channels sites list*](api::PartnerChannelSiteListCall), [*channels sites replace*](api::PartnerChannelSiteReplaceCall), [*get*](api::PartnerGetCall), [*list*](api::PartnerListCall), [*targeting types assigned targeting options create*](api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](api::PartnerTargetingTypeAssignedTargetingOptionListCall)
36//! * sdfdownloadtasks
37//! * [*create*](api::SdfdownloadtaskCreateCall) and [*operations get*](api::SdfdownloadtaskOperationGetCall)
38//! * targeting types
39//! * [*targeting options get*](api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](api::TargetingTypeTargetingOptionSearchCall)
40//! * [users](api::User)
41//! * [*bulk edit assigned user roles*](api::UserBulkEditAssignedUserRoleCall), [*create*](api::UserCreateCall), [*delete*](api::UserDeleteCall), [*get*](api::UserGetCall), [*list*](api::UserListCall) and [*patch*](api::UserPatchCall)
42//!
43//!
44//! Upload supported by ...
45//!
46//! * [*assets upload advertisers*](api::AdvertiserAssetUploadCall)
47//! * [*upload media*](api::MediaUploadCall)
48//!
49//! Download supported by ...
50//!
51//! * [*download media*](api::MediaDownloadCall)
52//!
53//!
54//!
55//! Not what you are looking for ? Find all other Google APIs in their Rust [documentation index](http://byron.github.io/google-apis-rs).
56//!
57//! # Structure of this Library
58//!
59//! The API is structured into the following primary items:
60//!
61//! * **[Hub](DisplayVideo)**
62//! * a central object to maintain state and allow accessing all *Activities*
63//! * creates [*Method Builders*](common::MethodsBuilder) which in turn
64//! allow access to individual [*Call Builders*](common::CallBuilder)
65//! * **[Resources](common::Resource)**
66//! * primary types that you can apply *Activities* to
67//! * a collection of properties and *Parts*
68//! * **[Parts](common::Part)**
69//! * a collection of properties
70//! * never directly used in *Activities*
71//! * **[Activities](common::CallBuilder)**
72//! * operations to apply to *Resources*
73//!
74//! All *structures* are marked with applicable traits to further categorize them and ease browsing.
75//!
76//! Generally speaking, you can invoke *Activities* like this:
77//!
78//! ```Rust,ignore
79//! let r = hub.resource().activity(...).doit().await
80//! ```
81//!
82//! Or specifically ...
83//!
84//! ```ignore
85//! let r = hub.advertisers().assets_upload(...).doit().await
86//! let r = hub.advertisers().campaigns_create(...).doit().await
87//! let r = hub.advertisers().campaigns_delete(...).doit().await
88//! let r = hub.advertisers().campaigns_get(...).doit().await
89//! let r = hub.advertisers().campaigns_list(...).doit().await
90//! let r = hub.advertisers().campaigns_patch(...).doit().await
91//! let r = hub.advertisers().channels_sites_bulk_edit(...).doit().await
92//! let r = hub.advertisers().channels_sites_create(...).doit().await
93//! let r = hub.advertisers().channels_sites_delete(...).doit().await
94//! let r = hub.advertisers().channels_sites_list(...).doit().await
95//! let r = hub.advertisers().channels_sites_replace(...).doit().await
96//! let r = hub.advertisers().channels_create(...).doit().await
97//! let r = hub.advertisers().channels_get(...).doit().await
98//! let r = hub.advertisers().channels_list(...).doit().await
99//! let r = hub.advertisers().channels_patch(...).doit().await
100//! let r = hub.advertisers().creatives_create(...).doit().await
101//! let r = hub.advertisers().creatives_delete(...).doit().await
102//! let r = hub.advertisers().creatives_get(...).doit().await
103//! let r = hub.advertisers().creatives_list(...).doit().await
104//! let r = hub.advertisers().creatives_patch(...).doit().await
105//! let r = hub.advertisers().insertion_orders_create(...).doit().await
106//! let r = hub.advertisers().insertion_orders_delete(...).doit().await
107//! let r = hub.advertisers().insertion_orders_get(...).doit().await
108//! let r = hub.advertisers().insertion_orders_list(...).doit().await
109//! let r = hub.advertisers().insertion_orders_patch(...).doit().await
110//! let r = hub.advertisers().invoices_list(...).doit().await
111//! let r = hub.advertisers().invoices_lookup_invoice_currency(...).doit().await
112//! let r = hub.advertisers().line_items_targeting_types_assigned_targeting_options_create(...).doit().await
113//! let r = hub.advertisers().line_items_targeting_types_assigned_targeting_options_delete(...).doit().await
114//! let r = hub.advertisers().line_items_targeting_types_assigned_targeting_options_get(...).doit().await
115//! let r = hub.advertisers().line_items_targeting_types_assigned_targeting_options_list(...).doit().await
116//! let r = hub.advertisers().line_items_bulk_edit_line_item_assigned_targeting_options(...).doit().await
117//! let r = hub.advertisers().line_items_bulk_list_line_item_assigned_targeting_options(...).doit().await
118//! let r = hub.advertisers().line_items_create(...).doit().await
119//! let r = hub.advertisers().line_items_delete(...).doit().await
120//! let r = hub.advertisers().line_items_get(...).doit().await
121//! let r = hub.advertisers().line_items_list(...).doit().await
122//! let r = hub.advertisers().line_items_patch(...).doit().await
123//! let r = hub.advertisers().location_lists_assigned_locations_bulk_edit(...).doit().await
124//! let r = hub.advertisers().location_lists_assigned_locations_create(...).doit().await
125//! let r = hub.advertisers().location_lists_assigned_locations_delete(...).doit().await
126//! let r = hub.advertisers().location_lists_assigned_locations_list(...).doit().await
127//! let r = hub.advertisers().location_lists_create(...).doit().await
128//! let r = hub.advertisers().location_lists_get(...).doit().await
129//! let r = hub.advertisers().location_lists_list(...).doit().await
130//! let r = hub.advertisers().location_lists_patch(...).doit().await
131//! let r = hub.advertisers().manual_triggers_activate(...).doit().await
132//! let r = hub.advertisers().manual_triggers_create(...).doit().await
133//! let r = hub.advertisers().manual_triggers_deactivate(...).doit().await
134//! let r = hub.advertisers().manual_triggers_get(...).doit().await
135//! let r = hub.advertisers().manual_triggers_list(...).doit().await
136//! let r = hub.advertisers().manual_triggers_patch(...).doit().await
137//! let r = hub.advertisers().negative_keyword_lists_negative_keywords_bulk_edit(...).doit().await
138//! let r = hub.advertisers().negative_keyword_lists_negative_keywords_create(...).doit().await
139//! let r = hub.advertisers().negative_keyword_lists_negative_keywords_delete(...).doit().await
140//! let r = hub.advertisers().negative_keyword_lists_negative_keywords_list(...).doit().await
141//! let r = hub.advertisers().negative_keyword_lists_negative_keywords_replace(...).doit().await
142//! let r = hub.advertisers().negative_keyword_lists_create(...).doit().await
143//! let r = hub.advertisers().negative_keyword_lists_delete(...).doit().await
144//! let r = hub.advertisers().negative_keyword_lists_get(...).doit().await
145//! let r = hub.advertisers().negative_keyword_lists_list(...).doit().await
146//! let r = hub.advertisers().negative_keyword_lists_patch(...).doit().await
147//! let r = hub.advertisers().targeting_types_assigned_targeting_options_create(...).doit().await
148//! let r = hub.advertisers().targeting_types_assigned_targeting_options_delete(...).doit().await
149//! let r = hub.advertisers().targeting_types_assigned_targeting_options_get(...).doit().await
150//! let r = hub.advertisers().targeting_types_assigned_targeting_options_list(...).doit().await
151//! let r = hub.advertisers().audit(...).doit().await
152//! let r = hub.advertisers().bulk_edit_advertiser_assigned_targeting_options(...).doit().await
153//! let r = hub.advertisers().bulk_list_advertiser_assigned_targeting_options(...).doit().await
154//! let r = hub.advertisers().create(...).doit().await
155//! let r = hub.advertisers().delete(...).doit().await
156//! let r = hub.advertisers().get(...).doit().await
157//! let r = hub.advertisers().list(...).doit().await
158//! let r = hub.advertisers().patch(...).doit().await
159//! ```
160//!
161//! The `resource()` and `activity(...)` calls create [builders][builder-pattern]. The second one dealing with `Activities`
162//! supports various methods to configure the impending operation (not shown here). It is made such that all required arguments have to be
163//! specified right away (i.e. `(...)`), whereas all optional ones can be [build up][builder-pattern] as desired.
164//! The `doit()` method performs the actual communication with the server and returns the respective result.
165//!
166//! # Usage
167//!
168//! ## Setting up your Project
169//!
170//! To use this library, you would put the following lines into your `Cargo.toml` file:
171//!
172//! ```toml
173//! [dependencies]
174//! google-displayvideo1 = "*"
175//! serde = "1"
176//! serde_json = "1"
177//! ```
178//!
179//! ## A complete example
180//!
181//! ```test_harness,no_run
182//! extern crate hyper;
183//! extern crate hyper_rustls;
184//! extern crate google_displayvideo1 as displayvideo1;
185//! use displayvideo1::{Result, Error};
186//! # async fn dox() {
187//! use displayvideo1::{DisplayVideo, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
188//!
189//! // Get an ApplicationSecret instance by some means. It contains the `client_id` and
190//! // `client_secret`, among other things.
191//! let secret: yup_oauth2::ApplicationSecret = Default::default();
192//! // Instantiate the authenticator. It will choose a suitable authentication flow for you,
193//! // unless you replace `None` with the desired Flow.
194//! // Provide your own `AuthenticatorDelegate` to adjust the way it operates and get feedback about
195//! // what's going on. You probably want to bring in your own `TokenStorage` to persist tokens and
196//! // retrieve them from storage.
197//! let connector = hyper_rustls::HttpsConnectorBuilder::new()
198//! .with_native_roots()
199//! .unwrap()
200//! .https_only()
201//! .enable_http2()
202//! .build();
203//!
204//! let executor = hyper_util::rt::TokioExecutor::new();
205//! let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
206//! secret,
207//! yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
208//! yup_oauth2::client::CustomHyperClientBuilder::from(
209//! hyper_util::client::legacy::Client::builder(executor).build(connector),
210//! ),
211//! ).build().await.unwrap();
212//!
213//! let client = hyper_util::client::legacy::Client::builder(
214//! hyper_util::rt::TokioExecutor::new()
215//! )
216//! .build(
217//! hyper_rustls::HttpsConnectorBuilder::new()
218//! .with_native_roots()
219//! .unwrap()
220//! .https_or_http()
221//! .enable_http2()
222//! .build()
223//! );
224//! let mut hub = DisplayVideo::new(client, auth);
225//! // You can configure optional parameters by calling the respective setters at will, and
226//! // execute the final call using `doit()`.
227//! // Values shown here are possibly random and not representative !
228//! let result = hub.advertisers().channels_sites_list(-80, -2)
229//! .partner_id(-59)
230//! .page_token("amet.")
231//! .page_size(-20)
232//! .order_by("ipsum")
233//! .filter("gubergren")
234//! .doit().await;
235//!
236//! match result {
237//! Err(e) => match e {
238//! // The Error enum provides details about what exactly happened.
239//! // You can also just use its `Debug`, `Display` or `Error` traits
240//! Error::HttpError(_)
241//! |Error::Io(_)
242//! |Error::MissingAPIKey
243//! |Error::MissingToken(_)
244//! |Error::Cancelled
245//! |Error::UploadSizeLimitExceeded(_, _)
246//! |Error::Failure(_)
247//! |Error::BadRequest(_)
248//! |Error::FieldClash(_)
249//! |Error::JsonDecodeError(_, _) => println!("{}", e),
250//! },
251//! Ok(res) => println!("Success: {:?}", res),
252//! }
253//! # }
254//! ```
255//! ## Handling Errors
256//!
257//! All errors produced by the system are provided either as [Result](common::Result) enumeration as return value of
258//! the doit() methods, or handed as possibly intermediate results to either the
259//! [Hub Delegate](common::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
260//!
261//! When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
262//! makes the system potentially resilient to all kinds of errors.
263//!
264//! ## Uploads and Downloads
265//! If a method supports downloads, the response body, which is part of the [Result](common::Result), should be
266//! read by you to obtain the media.
267//! If such a method also supports a [Response Result](common::ResponseResult), it will return that by default.
268//! 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
269//! this call: `.param("alt", "media")`.
270//!
271//! Methods supporting uploads can do so using up to 2 different protocols:
272//! *simple* and *resumable*. The distinctiveness of each is represented by customized
273//! `doit(...)` methods, which are then named `upload(...)` and `upload_resumable(...)` respectively.
274//!
275//! ## Customization and Callbacks
276//!
277//! You may alter the way an `doit()` method is called by providing a [delegate](common::Delegate) to the
278//! [Method Builder](common::CallBuilder) before making the final `doit()` call.
279//! Respective methods will be called to provide progress information, as well as determine whether the system should
280//! retry on failure.
281//!
282//! The [delegate trait](common::Delegate) is default-implemented, allowing you to customize it with minimal effort.
283//!
284//! ## Optional Parts in Server-Requests
285//!
286//! All structures provided by this library are made to be [encodable](common::RequestValue) and
287//! [decodable](common::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses
288//! are valid.
289//! Most optionals are are considered [Parts](common::Part) which are identifiable by name, which will be sent to
290//! the server to indicate either the set parts of the request or the desired parts in the response.
291//!
292//! ## Builder Arguments
293//!
294//! Using [method builders](common::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods.
295//! These will always take a single argument, for which the following statements are true.
296//!
297//! * [PODs][wiki-pod] are handed by copy
298//! * strings are passed as `&str`
299//! * [request values](common::RequestValue) are moved
300//!
301//! Arguments will always be copied or cloned into the builder, to make them independent of their original life times.
302//!
303//! [wiki-pod]: http://en.wikipedia.org/wiki/Plain_old_data_structure
304//! [builder-pattern]: http://en.wikipedia.org/wiki/Builder_pattern
305//! [google-go-api]: https://github.com/google/google-api-go-client
306//!
307//! ## Cargo Features
308//!
309//! * `utoipa` - Add support for [utoipa](https://crates.io/crates/utoipa) and derive `utoipa::ToSchema` on all
310//! the types. You'll have to import and register the required types in `#[openapi(schemas(...))]`, otherwise the
311//! generated `openapi` spec would be invalid.
312//!
313//!
314//!
315
316// Unused attributes happen thanks to defined, but unused structures We don't
317// warn about this, as depending on the API, some data structures or facilities
318// are never used. Instead of pre-determining this, we just disable the lint.
319// It's manually tuned to not have any unused imports in fully featured APIs.
320// Same with unused_mut.
321#![allow(unused_imports, unused_mut, dead_code)]
322
323// DO NOT EDIT !
324// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
325// DO NOT EDIT !
326
327pub extern crate hyper;
328pub extern crate hyper_rustls;
329pub extern crate hyper_util;
330#[cfg(feature = "yup-oauth2")]
331pub extern crate yup_oauth2;
332
333pub extern crate google_apis_common as common;
334pub use common::{Delegate, Error, FieldMask, Result};
335
336pub mod api;
337pub use api::DisplayVideo;