Struct rusoto_s3::LifecycleExpiration
[−]
[src]
pub struct LifecycleExpiration { pub date: Option<Date>, pub days: Option<Days>, pub expired_object_delete_marker: Option<ExpiredObjectDeleteMarker>, }
Fields
date: Option<Date>
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
days: Option<Days>
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: Option<ExpiredObjectDeleteMarker>
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.
Trait Implementations
impl Default for LifecycleExpiration
[src]
fn default() -> LifecycleExpiration
Returns the "default value" for a type. Read more
impl Clone for LifecycleExpiration
[src]
fn clone(&self) -> LifecycleExpiration
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more