mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
fix(publish): v0.1.4
* macro 'alias' was renamed to 'rename' * fixed `cargo test` on main project The latter pointed me to the serde issue, which would have made everything fail when actually used to communicate with google servers.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *cloudlatencytest* crate version *0.1.3+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.3*.
|
||||
//! This documentation was generated from *cloudlatencytest* crate version *0.1.4+20150206*, where *20150206* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.4*.
|
||||
//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2).
|
||||
//! # Features
|
||||
//!
|
||||
@@ -305,7 +305,7 @@ impl<'a, C, NC, A> Cloudlatencytest<C, NC, A>
|
||||
Cloudlatencytest {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.3".to_string(),
|
||||
_user_agent: "google-api-rust-client/0.1.4".to_string(),
|
||||
_m: PhantomData
|
||||
}
|
||||
}
|
||||
@@ -315,7 +315,7 @@ impl<'a, C, NC, A> Cloudlatencytest<C, NC, A>
|
||||
}
|
||||
|
||||
/// Set the user-agent header field to use in all requests to the server.
|
||||
/// It defaults to `google-api-rust-client/0.1.3`.
|
||||
/// It defaults to `google-api-rust-client/0.1.4`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
@@ -356,13 +356,13 @@ impl Part for IntValue {}
|
||||
#[derive(Default, Clone, Debug, Serialize)]
|
||||
pub struct Stats {
|
||||
/// no description provided
|
||||
#[serde(alias="stringValues")]
|
||||
#[serde(rename="stringValues")]
|
||||
pub string_values: Option<Vec<StringValue>>,
|
||||
/// no description provided
|
||||
#[serde(alias="intValues")]
|
||||
#[serde(rename="intValues")]
|
||||
pub int_values: Option<Vec<IntValue>>,
|
||||
/// no description provided
|
||||
#[serde(alias="doubleValues")]
|
||||
#[serde(rename="doubleValues")]
|
||||
pub double_values: Option<Vec<DoubleValue>>,
|
||||
/// no description provided
|
||||
pub time: Option<f64>,
|
||||
@@ -416,7 +416,7 @@ impl RequestValue for AggregatedStats {}
|
||||
#[derive(Default, Clone, Debug, Deserialize)]
|
||||
pub struct AggregatedStatsReply {
|
||||
/// no description provided
|
||||
#[serde(alias="testValue")]
|
||||
#[serde(rename="testValue")]
|
||||
pub test_value: String,
|
||||
}
|
||||
|
||||
@@ -450,7 +450,7 @@ impl Part for DoubleValue {}
|
||||
#[derive(Default, Clone, Debug, Deserialize)]
|
||||
pub struct StatsReply {
|
||||
/// no description provided
|
||||
#[serde(alias="testValue")]
|
||||
#[serde(rename="testValue")]
|
||||
pub test_value: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user