pub struct ObjectLockRetention {
pub mode: Option<String>,
pub retain_until_date: Option<String>,
}Expand description
A Retention configuration for an object.
Fields§
§mode: Option<String>Indicates the Retention mode for the specified object.
retain_until_date: Option<String>The date on which this Object Lock Retention will expire.
Trait Implementations§
Source§impl Clone for ObjectLockRetention
impl Clone for ObjectLockRetention
Source§fn clone(&self) -> ObjectLockRetention
fn clone(&self) -> ObjectLockRetention
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 ObjectLockRetention
impl Debug for ObjectLockRetention
Source§impl Default for ObjectLockRetention
impl Default for ObjectLockRetention
Source§fn default() -> ObjectLockRetention
fn default() -> ObjectLockRetention
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObjectLockRetention
impl PartialEq for ObjectLockRetention
impl StructuralPartialEq for ObjectLockRetention
Auto Trait Implementations§
impl Freeze for ObjectLockRetention
impl RefUnwindSafe for ObjectLockRetention
impl Send for ObjectLockRetention
impl Sync for ObjectLockRetention
impl Unpin for ObjectLockRetention
impl UnwindSafe for ObjectLockRetention
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