pub struct ObjectLockRetentionOptions {
pub mode: Option<String>,
pub retain_until: Option<OffsetDateTime>,
pub bypass_governance: bool,
}Fields§
§mode: Option<String>§retain_until: Option<OffsetDateTime>§bypass_governance: boolTrait Implementations§
Source§impl Clone for ObjectLockRetentionOptions
impl Clone for ObjectLockRetentionOptions
Source§fn clone(&self) -> ObjectLockRetentionOptions
fn clone(&self) -> ObjectLockRetentionOptions
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 ObjectLockRetentionOptions
impl Debug for ObjectLockRetentionOptions
Source§impl Default for ObjectLockRetentionOptions
impl Default for ObjectLockRetentionOptions
Source§fn default() -> ObjectLockRetentionOptions
fn default() -> ObjectLockRetentionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ObjectLockRetentionOptions
impl RefUnwindSafe for ObjectLockRetentionOptions
impl Send for ObjectLockRetentionOptions
impl Sync for ObjectLockRetentionOptions
impl Unpin for ObjectLockRetentionOptions
impl UnsafeUnpin for ObjectLockRetentionOptions
impl UnwindSafe for ObjectLockRetentionOptions
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