Struct aws_sdk_s3::model::LifecycleExpiration [−][src]
#[non_exhaustive]pub struct LifecycleExpiration {
pub date: Option<Instant>,
pub days: i32,
pub expired_object_delete_marker: bool,
}
Expand description
Container for the expiration for the lifecycle of the object.
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.date: Option<Instant>
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
days: i32
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
expired_object_delete_marker: bool
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.
Implementations
Creates a new builder-style object to manufacture LifecycleExpiration
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 LifecycleExpiration
impl Send for LifecycleExpiration
impl Sync for LifecycleExpiration
impl Unpin for LifecycleExpiration
impl UnwindSafe for LifecycleExpiration
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