Struct aws_sdk_macie2::model::UsageRecord
source · [−]#[non_exhaustive]pub struct UsageRecord { /* private fields */ }
Expand description
Provides quota and aggregated usage data for an Amazon Macie account.
Implementations
sourceimpl UsageRecord
impl UsageRecord
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account that the data applies to.
sourcepub fn free_trial_start_date(&self) -> Option<&DateTime>
pub fn free_trial_start_date(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.
sourcepub fn usage(&self) -> Option<&[UsageByAccount]>
pub fn usage(&self) -> Option<&[UsageByAccount]>
An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
sourceimpl UsageRecord
impl UsageRecord
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UsageRecord
.
Trait Implementations
sourceimpl Clone for UsageRecord
impl Clone for UsageRecord
sourcefn clone(&self) -> UsageRecord
fn clone(&self) -> UsageRecord
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 moresourceimpl Debug for UsageRecord
impl Debug for UsageRecord
sourceimpl PartialEq<UsageRecord> for UsageRecord
impl PartialEq<UsageRecord> for UsageRecord
sourcefn eq(&self, other: &UsageRecord) -> bool
fn eq(&self, other: &UsageRecord) -> bool
impl StructuralPartialEq for UsageRecord
Auto Trait Implementations
impl RefUnwindSafe for UsageRecord
impl Send for UsageRecord
impl Sync for UsageRecord
impl Unpin for UsageRecord
impl UnwindSafe for UsageRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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