#[non_exhaustive]pub struct ListTimeSeriesResponse {
    pub time_series: Vec<TimeSeries>,
    pub next_page_token: String,
    pub execution_errors: Vec<Status>,
    pub unit: String,
}Expand description
The ListTimeSeries response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.time_series: Vec<TimeSeries>One or more time series that match the filter included in the request.
next_page_token: StringIf there are more results than have been returned, then this field is set
to a non-empty value.  To see the additional results,
use that value as page_token in the next call to this method.
execution_errors: Vec<Status>Query execution errors that may have caused the time series data returned to be incomplete.
unit: StringThe unit in which all time_series point values are reported. unit
follows the UCUM format for units as seen in
https://unitsofmeasure.org/ucum.html.
If different time_series have different units (for example, because they
come from different metric types, or a unit is absent), then unit will be
“{not_a_unit}”.
Implementations§
Source§impl ListTimeSeriesResponse
 
impl ListTimeSeriesResponse
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
 
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Sourcepub fn set_time_series<T, V>(self, v: T) -> Self
 
pub fn set_time_series<T, V>(self, v: T) -> Self
Sets the value of time_series.
Sourcepub fn set_execution_errors<T, V>(self, v: T) -> Self
 
pub fn set_execution_errors<T, V>(self, v: T) -> Self
Sets the value of execution_errors.
Trait Implementations§
Source§impl Clone for ListTimeSeriesResponse
 
impl Clone for ListTimeSeriesResponse
Source§fn clone(&self) -> ListTimeSeriesResponse
 
fn clone(&self) -> ListTimeSeriesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more