mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-04 18:43:47 +01:00
regen everything with fixed Send for Delegate
This commit is contained in:
@@ -117,7 +117,7 @@ impl<'a, > CloudShell<> {
|
||||
CloudShell {
|
||||
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://cloudshell.googleapis.com/".to_string(),
|
||||
_root_url: "https://cloudshell.googleapis.com/".to_string(),
|
||||
}
|
||||
@@ -131,7 +131,7 @@ impl<'a, > CloudShell<> {
|
||||
}
|
||||
|
||||
/// 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 *Cloud Shell* crate version *2.0.3+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*.
|
||||
//! This documentation was generated from *Cloud Shell* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*.
|
||||
//!
|
||||
//! Everything else about the *Cloud Shell* *v1* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/shell/docs/).
|
||||
|
||||
Reference in New Issue
Block a user