#[non_exhaustive]pub struct GetMetricDataOutput {
pub next_token: Option<String>,
pub metric_results: Option<Vec<HistoricalMetricResult>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
metric_results: Option<Vec<HistoricalMetricResult>>
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
Implementations§
source§impl GetMetricDataOutput
impl GetMetricDataOutput
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
sourcepub fn metric_results(&self) -> Option<&[HistoricalMetricResult]>
pub fn metric_results(&self) -> Option<&[HistoricalMetricResult]>
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
source§impl GetMetricDataOutput
impl GetMetricDataOutput
sourcepub fn builder() -> GetMetricDataOutputBuilder
pub fn builder() -> GetMetricDataOutputBuilder
Creates a new builder-style object to manufacture GetMetricDataOutput
.
Trait Implementations§
source§impl Clone for GetMetricDataOutput
impl Clone for GetMetricDataOutput
source§fn clone(&self) -> GetMetricDataOutput
fn clone(&self) -> GetMetricDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMetricDataOutput
impl Debug for GetMetricDataOutput
source§impl PartialEq<GetMetricDataOutput> for GetMetricDataOutput
impl PartialEq<GetMetricDataOutput> for GetMetricDataOutput
source§fn eq(&self, other: &GetMetricDataOutput) -> bool
fn eq(&self, other: &GetMetricDataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMetricDataOutput
impl RequestId for GetMetricDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.