pub struct ObjectRetention {
pub mode: RetentionMode,
pub retain_until: Timestamp,
}Expand description
Retention applied to one object version.
Fields§
§mode: RetentionModeRetention mode.
retain_until: TimestampAbsolute UTC instant after which retention expires.
Trait Implementations§
Source§impl Clone for ObjectRetention
impl Clone for ObjectRetention
Source§fn clone(&self) -> ObjectRetention
fn clone(&self) -> ObjectRetention
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 ObjectRetention
impl Debug for ObjectRetention
Source§impl<'de> Deserialize<'de> for ObjectRetention
impl<'de> Deserialize<'de> for ObjectRetention
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 ObjectRetention
Source§impl PartialEq for ObjectRetention
impl PartialEq for ObjectRetention
Source§impl Serialize for ObjectRetention
impl Serialize for ObjectRetention
impl StructuralPartialEq for ObjectRetention
Auto Trait Implementations§
impl Freeze for ObjectRetention
impl RefUnwindSafe for ObjectRetention
impl Send for ObjectRetention
impl Sync for ObjectRetention
impl Unpin for ObjectRetention
impl UnsafeUnpin for ObjectRetention
impl UnwindSafe for ObjectRetention
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