mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-02 09:31:13 +01:00
regen everything with fixed Send for Delegate
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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/).
|
||||
|
||||
Reference in New Issue
Block a user