#[non_exhaustive]pub struct QueryTimeSeriesResponse {
pub time_series_descriptor: Option<TimeSeriesDescriptor>,
pub time_series_data: Vec<TimeSeriesData>,
pub next_page_token: String,
pub partial_errors: Vec<Status>,
/* private fields */
}๐Deprecated
Expand description
The QueryTimeSeries response. For information about the status of
Monitoring Query Language (MQL), see the MQL deprecation
notice.
Fields (Non-exhaustive)ยง
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.time_series_descriptor: Option<TimeSeriesDescriptor>๐Deprecated
The descriptor for the time series data.
time_series_data: Vec<TimeSeriesData>๐Deprecated
The time series data.
next_page_token: String๐Deprecated
If 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.
partial_errors: Vec<Status>๐Deprecated
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
Implementationsยง
Sourceยงimpl QueryTimeSeriesResponse
impl QueryTimeSeriesResponse
pub fn new() -> Self
Sourcepub fn set_time_series_descriptor<T>(self, v: T) -> Selfwhere
T: Into<TimeSeriesDescriptor>,
pub fn set_time_series_descriptor<T>(self, v: T) -> Selfwhere
T: Into<TimeSeriesDescriptor>,
Sets the value of time_series_descriptor.
Sourcepub fn set_or_clear_time_series_descriptor<T>(self, v: Option<T>) -> Selfwhere
T: Into<TimeSeriesDescriptor>,
pub fn set_or_clear_time_series_descriptor<T>(self, v: Option<T>) -> Selfwhere
T: Into<TimeSeriesDescriptor>,
Sets or clears the value of time_series_descriptor.
Sourcepub fn set_time_series_data<T, V>(self, v: T) -> Self
pub fn set_time_series_data<T, V>(self, v: T) -> Self
Sets the value of time_series_data.
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_partial_errors<T, V>(self, v: T) -> Self
pub fn set_partial_errors<T, V>(self, v: T) -> Self
Sets the value of partial_errors.
Trait Implementationsยง
Sourceยงimpl Clone for QueryTimeSeriesResponse
impl Clone for QueryTimeSeriesResponse
Sourceยงfn clone(&self) -> QueryTimeSeriesResponse
fn clone(&self) -> QueryTimeSeriesResponse
Returns a duplicate 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 QueryTimeSeriesResponse
impl Debug for QueryTimeSeriesResponse
Sourceยงimpl Default for QueryTimeSeriesResponse
impl Default for QueryTimeSeriesResponse
Sourceยงfn default() -> QueryTimeSeriesResponse
fn default() -> QueryTimeSeriesResponse
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl Message for QueryTimeSeriesResponse
impl Message for QueryTimeSeriesResponse
Sourceยงimpl PartialEq for QueryTimeSeriesResponse
impl PartialEq for QueryTimeSeriesResponse
impl StructuralPartialEq for QueryTimeSeriesResponse
Auto Trait Implementationsยง
impl Freeze for QueryTimeSeriesResponse
impl RefUnwindSafe for QueryTimeSeriesResponse
impl Send for QueryTimeSeriesResponse
impl Sync for QueryTimeSeriesResponse
impl Unpin for QueryTimeSeriesResponse
impl UnwindSafe for QueryTimeSeriesResponse
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