pub struct DefaultRetention {
pub days: Option<i32>,
pub mode: Option<ObjectLockRetentionMode>,
pub years: Option<i32>,
}Expand description
S3 DefaultRetention.
Fields§
§days: Option<i32>§mode: Option<ObjectLockRetentionMode>§years: Option<i32>Trait Implementations§
Source§impl Clone for DefaultRetention
impl Clone for DefaultRetention
Source§fn clone(&self) -> DefaultRetention
fn clone(&self) -> DefaultRetention
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 DefaultRetention
impl Debug for DefaultRetention
Source§impl Default for DefaultRetention
impl Default for DefaultRetention
Source§fn default() -> DefaultRetention
fn default() -> DefaultRetention
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultRetention
impl RefUnwindSafe for DefaultRetention
impl Send for DefaultRetention
impl Sync for DefaultRetention
impl Unpin for DefaultRetention
impl UnsafeUnpin for DefaultRetention
impl UnwindSafe for DefaultRetention
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