#[non_exhaustive]pub struct QueryTimeSeriesRequest {
    pub name: String,
    pub query: String,
    pub page_size: i32,
    pub page_token: String,
}Expand description
The QueryTimeSeries request. 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.name: StringRequired. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]query: StringRequired. The query in the Monitoring Query Language format. The default time zone is in UTC.
page_size: i32A positive number that is the maximum number of time_series_data to return.
page_token: StringIf this field is not empty then it must contain the nextPageToken value
returned by a previous call to this method.  Using this field causes the
method to return additional results from the previous method call.
Implementations§
Source§impl QueryTimeSeriesRequest
 
impl QueryTimeSeriesRequest
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
 
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
 
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Trait Implementations§
Source§impl Clone for QueryTimeSeriesRequest
 
impl Clone for QueryTimeSeriesRequest
Source§fn clone(&self) -> QueryTimeSeriesRequest
 
fn clone(&self) -> QueryTimeSeriesRequest
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 QueryTimeSeriesRequest
 
impl Debug for QueryTimeSeriesRequest
Source§impl Default for QueryTimeSeriesRequest
 
impl Default for QueryTimeSeriesRequest
Source§fn default() -> QueryTimeSeriesRequest
 
fn default() -> QueryTimeSeriesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryTimeSeriesRequestwhere
    QueryTimeSeriesRequest: Default,
 
impl<'de> Deserialize<'de> for QueryTimeSeriesRequestwhere
    QueryTimeSeriesRequest: Default,
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 Message for QueryTimeSeriesRequest
 
impl Message for QueryTimeSeriesRequest
Source§impl PartialEq for QueryTimeSeriesRequest
 
impl PartialEq for QueryTimeSeriesRequest
Source§impl Serialize for QueryTimeSeriesRequest
 
impl Serialize for QueryTimeSeriesRequest
impl StructuralPartialEq for QueryTimeSeriesRequest
Auto Trait Implementations§
impl Freeze for QueryTimeSeriesRequest
impl RefUnwindSafe for QueryTimeSeriesRequest
impl Send for QueryTimeSeriesRequest
impl Sync for QueryTimeSeriesRequest
impl Unpin for QueryTimeSeriesRequest
impl UnwindSafe for QueryTimeSeriesRequest
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