pub struct DefaultRetention {
pub mode: RetentionMode,
pub duration: RetentionDuration,
}Expand description
Default retention rule applied to newly created object versions.
Fields§
§mode: RetentionModeDefault retention mode.
duration: RetentionDurationDefault retention duration.
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 (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 DefaultRetention
impl Debug for DefaultRetention
Source§impl<'de> Deserialize<'de> for DefaultRetention
impl<'de> Deserialize<'de> for DefaultRetention
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 DefaultRetention
Source§impl PartialEq for DefaultRetention
impl PartialEq for DefaultRetention
Source§impl Serialize for DefaultRetention
impl Serialize for DefaultRetention
impl StructuralPartialEq for DefaultRetention
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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