Struct aws_sdk_macie2::model::UsageRecord [−][src]
#[non_exhaustive]pub struct UsageRecord {
pub account_id: Option<String>,
pub free_trial_start_date: Option<DateTime>,
pub usage: Option<Vec<UsageByAccount>>,
}
Expand description
Provides quota and aggregated usage data for an Amazon Macie account.
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.account_id: Option<String>
The unique identifier for the Amazon Web Services account that the data applies to.
free_trial_start_date: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.
usage: Option<Vec<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.
Implementations
The unique identifier for the Amazon Web Services account that the data applies to.
The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.
Creates a new builder-style object to manufacture UsageRecord
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more