#[non_exhaustive]pub struct QueryTimeSeriesRequest {
pub name: String,
pub query: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}๐Deprecated
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: String๐Deprecated
Required. The project on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]query: String๐Deprecated
Required. The query in the Monitoring Query Language format. The default time zone is in UTC.
page_size: i32๐Deprecated
A positive number that is the maximum number of time_series_data to return.
page_token: String๐Deprecated
If 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
pub fn new() -> Self
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 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 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 Message for QueryTimeSeriesRequest
impl Message for QueryTimeSeriesRequest
Sourceยงimpl PartialEq for QueryTimeSeriesRequest
impl PartialEq 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