#[non_exhaustive]pub struct GetUsageStatisticsOutput {
pub next_token: Option<String>,
pub records: Option<Vec<UsageRecord>>,
pub time_range: Option<TimeRange>,
/* 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>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
records: Option<Vec<UsageRecord>>
An array of objects that contains the results of the query. Each object contains the data for an account that matches the filter criteria specified in the request.
time_range: Option<TimeRange>
The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.
Implementations§
source§impl GetUsageStatisticsOutput
impl GetUsageStatisticsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn records(&self) -> Option<&[UsageRecord]>
pub fn records(&self) -> Option<&[UsageRecord]>
An array of objects that contains the results of the query. Each object contains the data for an account that matches the filter criteria specified in the request.
sourcepub fn time_range(&self) -> Option<&TimeRange>
pub fn time_range(&self) -> Option<&TimeRange>
The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.
source§impl GetUsageStatisticsOutput
impl GetUsageStatisticsOutput
sourcepub fn builder() -> GetUsageStatisticsOutputBuilder
pub fn builder() -> GetUsageStatisticsOutputBuilder
Creates a new builder-style object to manufacture GetUsageStatisticsOutput
.
Trait Implementations§
source§impl Clone for GetUsageStatisticsOutput
impl Clone for GetUsageStatisticsOutput
source§fn clone(&self) -> GetUsageStatisticsOutput
fn clone(&self) -> GetUsageStatisticsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetUsageStatisticsOutput
impl Debug for GetUsageStatisticsOutput
source§impl PartialEq<GetUsageStatisticsOutput> for GetUsageStatisticsOutput
impl PartialEq<GetUsageStatisticsOutput> for GetUsageStatisticsOutput
source§fn eq(&self, other: &GetUsageStatisticsOutput) -> bool
fn eq(&self, other: &GetUsageStatisticsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetUsageStatisticsOutput
impl RequestId for GetUsageStatisticsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.