#[non_exhaustive]pub struct GetCurrentMetricDataOutput {
pub next_token: Option<String>,
pub metric_results: Option<Vec<CurrentMetricResult>>,
pub data_snapshot_time: Option<DateTime>,
pub approximate_total_count: Option<i64>,
/* 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<CurrentMetricResult>>
Information about the real-time metrics.
data_snapshot_time: Option<DateTime>
The time at which the metrics were retrieved and cached for pagination.
approximate_total_count: Option<i64>
The total count of the result, regardless of the current page size.
Implementations§
source§impl GetCurrentMetricDataOutput
impl GetCurrentMetricDataOutput
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) -> &[CurrentMetricResult]
pub fn metric_results(&self) -> &[CurrentMetricResult]
Information about the real-time metrics.
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()
.
sourcepub fn data_snapshot_time(&self) -> Option<&DateTime>
pub fn data_snapshot_time(&self) -> Option<&DateTime>
The time at which the metrics were retrieved and cached for pagination.
sourcepub fn approximate_total_count(&self) -> Option<i64>
pub fn approximate_total_count(&self) -> Option<i64>
The total count of the result, regardless of the current page size.
source§impl GetCurrentMetricDataOutput
impl GetCurrentMetricDataOutput
sourcepub fn builder() -> GetCurrentMetricDataOutputBuilder
pub fn builder() -> GetCurrentMetricDataOutputBuilder
Creates a new builder-style object to manufacture GetCurrentMetricDataOutput
.
Trait Implementations§
source§impl Clone for GetCurrentMetricDataOutput
impl Clone for GetCurrentMetricDataOutput
source§fn clone(&self) -> GetCurrentMetricDataOutput
fn clone(&self) -> GetCurrentMetricDataOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCurrentMetricDataOutput
impl Debug for GetCurrentMetricDataOutput
source§impl PartialEq for GetCurrentMetricDataOutput
impl PartialEq for GetCurrentMetricDataOutput
source§fn eq(&self, other: &GetCurrentMetricDataOutput) -> bool
fn eq(&self, other: &GetCurrentMetricDataOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetCurrentMetricDataOutput
impl RequestId for GetCurrentMetricDataOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetCurrentMetricDataOutput
Auto Trait Implementations§
impl Freeze for GetCurrentMetricDataOutput
impl RefUnwindSafe for GetCurrentMetricDataOutput
impl Send for GetCurrentMetricDataOutput
impl Sync for GetCurrentMetricDataOutput
impl Unpin for GetCurrentMetricDataOutput
impl UnwindSafe for GetCurrentMetricDataOutput
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