Struct aws_sdk_connect::output::GetMetricDataOutput
source · [−]#[non_exhaustive]pub struct GetMetricDataOutput {
pub next_token: Option<String>,
pub metric_results: Option<Vec<HistoricalMetricResult>>,
}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
sourceimpl 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.
sourceimpl GetMetricDataOutput
impl GetMetricDataOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetMetricDataOutput
Trait Implementations
sourceimpl Clone for GetMetricDataOutput
impl Clone for GetMetricDataOutput
sourcefn clone(&self) -> GetMetricDataOutput
fn clone(&self) -> GetMetricDataOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetMetricDataOutput
impl Debug for GetMetricDataOutput
sourceimpl PartialEq<GetMetricDataOutput> for GetMetricDataOutput
impl PartialEq<GetMetricDataOutput> for GetMetricDataOutput
sourcefn eq(&self, other: &GetMetricDataOutput) -> bool
fn eq(&self, other: &GetMetricDataOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetMetricDataOutput) -> bool
fn ne(&self, other: &GetMetricDataOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetMetricDataOutput
Auto Trait Implementations
impl RefUnwindSafe for GetMetricDataOutput
impl Send for GetMetricDataOutput
impl Sync for GetMetricDataOutput
impl Unpin for GetMetricDataOutput
impl UnwindSafe for GetMetricDataOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more