#[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) -> &[HistoricalMetricResult]
pub fn metric_results(&self) -> &[HistoricalMetricResult]
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metric_results.is_none().
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 for GetMetricDataOutput
impl PartialEq for GetMetricDataOutput
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.impl StructuralPartialEq for GetMetricDataOutput
Auto Trait Implementations§
impl Freeze for GetMetricDataOutput
impl RefUnwindSafe for GetMetricDataOutput
impl Send for GetMetricDataOutput
impl Sync for GetMetricDataOutput
impl Unpin for GetMetricDataOutput
impl UnwindSafe for GetMetricDataOutput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more