#[non_exhaustive]pub struct ListLogMetricsResponse {
pub metrics: Vec<LogMetric>,
pub next_page_token: String,
/* private fields */
}Expand description
Result returned from ListLogMetrics.
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.metrics: Vec<LogMetric>A list of logs-based metrics.
next_page_token: StringIf there might be more results than appear in this response, then
nextPageToken is included. To get the next set of results, call this
method again using the value of nextPageToken as pageToken.
Implementations§
Source§impl ListLogMetricsResponse
impl ListLogMetricsResponse
pub fn new() -> Self
Sourcepub fn set_metrics<T, V>(self, v: T) -> Self
pub fn set_metrics<T, V>(self, v: T) -> Self
Sets the value of metrics.
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.
Trait Implementations§
Source§impl Clone for ListLogMetricsResponse
impl Clone for ListLogMetricsResponse
Source§fn clone(&self) -> ListLogMetricsResponse
fn clone(&self) -> ListLogMetricsResponse
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 ListLogMetricsResponse
impl Debug for ListLogMetricsResponse
Source§impl Default for ListLogMetricsResponse
impl Default for ListLogMetricsResponse
Source§fn default() -> ListLogMetricsResponse
fn default() -> ListLogMetricsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListLogMetricsResponse
impl Message for ListLogMetricsResponse
Source§impl PartialEq for ListLogMetricsResponse
impl PartialEq for ListLogMetricsResponse
impl StructuralPartialEq for ListLogMetricsResponse
Auto Trait Implementations§
impl Freeze for ListLogMetricsResponse
impl RefUnwindSafe for ListLogMetricsResponse
impl Send for ListLogMetricsResponse
impl Sync for ListLogMetricsResponse
impl Unpin for ListLogMetricsResponse
impl UnwindSafe for ListLogMetricsResponse
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