pub struct LifecycleTransition {
pub days: Option<i32>,
pub date: Option<String>,
pub storage_class: String,
}Expand description
Transition settings for current object versions
Fields§
§days: Option<i32>Number of days after creation to transition
date: Option<String>Specific date to transition (ISO 8601 format)
storage_class: StringTarget storage class (tier name)
Trait Implementations§
Source§impl Clone for LifecycleTransition
impl Clone for LifecycleTransition
Source§fn clone(&self) -> LifecycleTransition
fn clone(&self) -> LifecycleTransition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LifecycleTransition
impl Debug for LifecycleTransition
Source§impl<'de> Deserialize<'de> for LifecycleTransition
impl<'de> Deserialize<'de> for LifecycleTransition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LifecycleTransition
impl RefUnwindSafe for LifecycleTransition
impl Send for LifecycleTransition
impl Sync for LifecycleTransition
impl Unpin for LifecycleTransition
impl UnsafeUnpin for LifecycleTransition
impl UnwindSafe for LifecycleTransition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more