#[non_exhaustive]pub struct GetUsageTotalsOutput { /* private fields */ }
Implementations§
source§impl GetUsageTotalsOutput
impl GetUsageTotalsOutput
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.
sourcepub fn usage_totals(&self) -> Option<&[UsageTotal]>
pub fn usage_totals(&self) -> Option<&[UsageTotal]>
An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.
source§impl GetUsageTotalsOutput
impl GetUsageTotalsOutput
sourcepub fn builder() -> GetUsageTotalsOutputBuilder
pub fn builder() -> GetUsageTotalsOutputBuilder
Creates a new builder-style object to manufacture GetUsageTotalsOutput
.
Trait Implementations§
source§impl Clone for GetUsageTotalsOutput
impl Clone for GetUsageTotalsOutput
source§fn clone(&self) -> GetUsageTotalsOutput
fn clone(&self) -> GetUsageTotalsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetUsageTotalsOutput
impl Debug for GetUsageTotalsOutput
source§impl PartialEq<GetUsageTotalsOutput> for GetUsageTotalsOutput
impl PartialEq<GetUsageTotalsOutput> for GetUsageTotalsOutput
source§fn eq(&self, other: &GetUsageTotalsOutput) -> bool
fn eq(&self, other: &GetUsageTotalsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetUsageTotalsOutput
impl RequestId for GetUsageTotalsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.