pub enum LifecycleAction {
Transition {
storage_class: String,
days: u32,
},
Expiration {
days: u32,
},
AbortIncompleteMultipartUpload {
days: u32,
},
}Expand description
生命周期动作类型
Variants§
Transition
转换存储类别(如 Standard -> IA -> Archive)
Expiration
过期删除
AbortIncompleteMultipartUpload
删除未完成的分片上传
Trait Implementations§
Source§impl Clone for LifecycleAction
impl Clone for LifecycleAction
Source§fn clone(&self) -> LifecycleAction
fn clone(&self) -> LifecycleAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LifecycleAction
impl Debug for LifecycleAction
Source§impl<'de> Deserialize<'de> for LifecycleAction
impl<'de> Deserialize<'de> for LifecycleAction
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
impl Eq for LifecycleAction
Source§impl PartialEq for LifecycleAction
impl PartialEq for LifecycleAction
Source§impl Serialize for LifecycleAction
impl Serialize for LifecycleAction
impl StructuralPartialEq for LifecycleAction
Auto Trait Implementations§
impl Freeze for LifecycleAction
impl RefUnwindSafe for LifecycleAction
impl Send for LifecycleAction
impl Sync for LifecycleAction
impl Unpin for LifecycleAction
impl UnsafeUnpin for LifecycleAction
impl UnwindSafe for LifecycleAction
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