Struct rusoto_s3::NoncurrentVersionTransition [−][src]
pub struct NoncurrentVersionTransition { pub noncurrent_days: Option<i64>, pub storage_class: Option<String>, }
Container for the transition rule that describes when noncurrent objects transition to the STANDARDIA, ONEZONEIA or GLACIER storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to the STANDARDIA, ONEZONEIA or GLACIER storage class at a specific period in the object's lifetime.
Fields
noncurrent_days: Option<i64>
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon Simple Storage Service Developer Guide.
storage_class: Option<String>
The class of storage used to store the object.
Trait Implementations
impl Default for NoncurrentVersionTransition
[src]
impl Default for NoncurrentVersionTransition
fn default() -> NoncurrentVersionTransition
[src]
fn default() -> NoncurrentVersionTransition
Returns the "default value" for a type. Read more
impl Debug for NoncurrentVersionTransition
[src]
impl Debug for NoncurrentVersionTransition
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NoncurrentVersionTransition
[src]
impl Clone for NoncurrentVersionTransition
fn clone(&self) -> NoncurrentVersionTransition
[src]
fn clone(&self) -> NoncurrentVersionTransition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for NoncurrentVersionTransition
[src]
impl PartialEq for NoncurrentVersionTransition
fn eq(&self, other: &NoncurrentVersionTransition) -> bool
[src]
fn eq(&self, other: &NoncurrentVersionTransition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NoncurrentVersionTransition) -> bool
[src]
fn ne(&self, other: &NoncurrentVersionTransition) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for NoncurrentVersionTransition
impl Send for NoncurrentVersionTransition
impl Sync for NoncurrentVersionTransition
impl Sync for NoncurrentVersionTransition