Struct rusoto_s3::LifecycleExpiration
source · [−]pub struct LifecycleExpiration {
pub date: Option<String>,
pub days: Option<i64>,
pub expired_object_delete_marker: Option<bool>,
}
Expand description
Container for the expiration for the lifecycle of the object.
Fields
date: Option<String>
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
days: Option<i64>
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<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.
Trait Implementations
sourceimpl Clone for LifecycleExpiration
impl Clone for LifecycleExpiration
sourcefn clone(&self) -> LifecycleExpiration
fn clone(&self) -> LifecycleExpiration
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 more
sourceimpl Debug for LifecycleExpiration
impl Debug for LifecycleExpiration
sourceimpl Default for LifecycleExpiration
impl Default for LifecycleExpiration
sourcefn default() -> LifecycleExpiration
fn default() -> LifecycleExpiration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LifecycleExpiration> for LifecycleExpiration
impl PartialEq<LifecycleExpiration> for LifecycleExpiration
sourcefn eq(&self, other: &LifecycleExpiration) -> bool
fn eq(&self, other: &LifecycleExpiration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LifecycleExpiration) -> bool
fn ne(&self, other: &LifecycleExpiration) -> bool
This method tests for !=
.
impl StructuralPartialEq for LifecycleExpiration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more