mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-06 19:45:20 +01:00
regen everything with fixed Send for Delegate
This commit is contained in:
@@ -118,7 +118,7 @@ impl<'a, > Speech<> {
|
||||
Speech {
|
||||
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://speech.googleapis.com/".to_string(),
|
||||
_root_url: "https://speech.googleapis.com/".to_string(),
|
||||
}
|
||||
@@ -132,7 +132,7 @@ impl<'a, > Speech<> {
|
||||
}
|
||||
|
||||
/// 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 *Speech* crate version *2.0.3+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.3*.
|
||||
//! This documentation was generated from *Speech* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*.
|
||||
//!
|
||||
//! Everything else about the *Speech* *v1* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol).
|
||||
|
||||
Reference in New Issue
Block a user