pub struct WriteTimeseriesRequest {
pub common_labels: Option<HashMap<String, String>>,
pub timeseries: Option<Vec<TimeseriesPoint>>,
}
Expand description
The request of cloudmonitoring.timeseries.write
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- write timeseries (request)
Fields§
§common_labels: Option<HashMap<String, String>>
The label’s name.
timeseries: Option<Vec<TimeseriesPoint>>
Provide time series specific labels and the data points for each time series. The labels in timeseries and the common_labels should form a complete list of labels that required by the metric.
Trait Implementations§
source§impl Clone for WriteTimeseriesRequest
impl Clone for WriteTimeseriesRequest
source§fn clone(&self) -> WriteTimeseriesRequest
fn clone(&self) -> WriteTimeseriesRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WriteTimeseriesRequest
impl Debug for WriteTimeseriesRequest
source§impl Default for WriteTimeseriesRequest
impl Default for WriteTimeseriesRequest
source§fn default() -> WriteTimeseriesRequest
fn default() -> WriteTimeseriesRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WriteTimeseriesRequest
impl<'de> Deserialize<'de> for WriteTimeseriesRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for WriteTimeseriesRequest
impl Serialize for WriteTimeseriesRequest
impl RequestValue for WriteTimeseriesRequest
Auto Trait Implementations§
impl RefUnwindSafe for WriteTimeseriesRequest
impl Send for WriteTimeseriesRequest
impl Sync for WriteTimeseriesRequest
impl Unpin for WriteTimeseriesRequest
impl UnwindSafe for WriteTimeseriesRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more