Struct aws_sdk_rbin::model::RetentionPeriod
source ·
[−]#[non_exhaustive]pub struct RetentionPeriod {
pub retention_period_value: Option<i32>,
pub retention_period_unit: Option<RetentionPeriodUnit>,
}
Expand description
Information about the retention period for which a retention rule is to retain resources.
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.retention_period_value: Option<i32>
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
retention_period_unit: Option<RetentionPeriodUnit>
The unit of time in which the retention period is measured. Currently, only DAYS
is supported.
Implementations
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
The unit of time in which the retention period is measured. Currently, only DAYS
is supported.
Creates a new builder-style object to manufacture RetentionPeriod
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 RetentionPeriod
impl Send for RetentionPeriod
impl Sync for RetentionPeriod
impl Unpin for RetentionPeriod
impl UnwindSafe for RetentionPeriod
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