#[non_exhaustive]pub struct GetMetricDataV2Output {
pub next_token: Option<String>,
pub metric_results: Option<Vec<MetricResultV2>>,
/* private fields */
}
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.next_token: Option<String>
If there are additional results, this is the token for the next set of results.
metric_results: Option<Vec<MetricResultV2>>
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
Implementations§
source§impl GetMetricDataV2Output
impl GetMetricDataV2Output
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If there are additional results, this is the token for the next set of results.
sourcepub fn metric_results(&self) -> Option<&[MetricResultV2]>
pub fn metric_results(&self) -> Option<&[MetricResultV2]>
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
source§impl GetMetricDataV2Output
impl GetMetricDataV2Output
sourcepub fn builder() -> GetMetricDataV2OutputBuilder
pub fn builder() -> GetMetricDataV2OutputBuilder
Creates a new builder-style object to manufacture GetMetricDataV2Output
.
Trait Implementations§
source§impl Clone for GetMetricDataV2Output
impl Clone for GetMetricDataV2Output
source§fn clone(&self) -> GetMetricDataV2Output
fn clone(&self) -> GetMetricDataV2Output
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 GetMetricDataV2Output
impl Debug for GetMetricDataV2Output
source§impl PartialEq for GetMetricDataV2Output
impl PartialEq for GetMetricDataV2Output
source§fn eq(&self, other: &GetMetricDataV2Output) -> bool
fn eq(&self, other: &GetMetricDataV2Output) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMetricDataV2Output
impl RequestId for GetMetricDataV2Output
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for GetMetricDataV2Output
Auto Trait Implementations§
impl RefUnwindSafe for GetMetricDataV2Output
impl Send for GetMetricDataV2Output
impl Sync for GetMetricDataV2Output
impl Unpin for GetMetricDataV2Output
impl UnwindSafe for GetMetricDataV2Output
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