#[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.