pub struct ObjectLockOptions {
pub version_id: Option<String>,
pub bypass_governance: bool,
}Expand description
Version selection and protected-mutation options for Object Lock operations.
Fields§
§version_id: Option<String>Exact object version to read or mutate. None selects the current version.
bypass_governance: boolExplicitly request governance retention bypass for this mutation.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectLockOptions
impl Clone for ObjectLockOptions
Source§fn clone(&self) -> ObjectLockOptions
fn clone(&self) -> ObjectLockOptions
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 ObjectLockOptions
impl Debug for ObjectLockOptions
Source§impl Default for ObjectLockOptions
impl Default for ObjectLockOptions
Source§fn default() -> ObjectLockOptions
fn default() -> ObjectLockOptions
Returns the “default value” for a type. Read more
impl Eq for ObjectLockOptions
Source§impl PartialEq for ObjectLockOptions
impl PartialEq for ObjectLockOptions
impl StructuralPartialEq for ObjectLockOptions
Auto Trait Implementations§
impl Freeze for ObjectLockOptions
impl RefUnwindSafe for ObjectLockOptions
impl Send for ObjectLockOptions
impl Sync for ObjectLockOptions
impl Unpin for ObjectLockOptions
impl UnsafeUnpin for ObjectLockOptions
impl UnwindSafe for ObjectLockOptions
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