regen everything with fixed Send for Delegate

This commit is contained in:
Sebastian Thiel
2021-04-14 16:58:44 +08:00
parent df5f102bd4
commit 0adccb51c5
2503 changed files with 10534 additions and 10534 deletions

View File

@@ -115,7 +115,7 @@ impl<'a, > BinaryAuthorization<> {
BinaryAuthorization {
client,
auth: authenticator,
_user_agent: "google-api-rust-client/2.0.3".to_string(),
_user_agent: "google-api-rust-client/2.0.4".to_string(),
_base_url: "https://binaryauthorization.googleapis.com/".to_string(),
_root_url: "https://binaryauthorization.googleapis.com/".to_string(),
}
@@ -129,7 +129,7 @@ impl<'a, > BinaryAuthorization<> {
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/2.0.3`.
/// It defaults to `google-api-rust-client/2.0.4`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {

View File

@@ -105,7 +105,7 @@ pub struct ServerMessage {
///
/// It contains methods to deal with all common issues, as well with the ones related to
/// uploading media
pub trait Delegate {
pub trait Delegate: Send {
/// Called at the beginning of any API request. The delegate should store the method
/// information if he is interesting in knowing more context when further calls to it
/// are made.

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Binary Authorization* crate version *2.0.3+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*.
//! This documentation was generated from *Binary Authorization* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*.
//!
//! Everything else about the *Binary Authorization* *v1* API can be found at the
//! [official documentation site](https://cloud.google.com/binary-authorization/).