pub struct ObjectLockConfiguration {
pub object_lock_enabled: Option<String>,
pub rule: Option<ObjectLockRule>,
}Expand description
The container element for Object Lock configuration parameters.
Fields§
§object_lock_enabled: Option<String>Indicates whether this bucket has an Object Lock configuration enabled.
rule: Option<ObjectLockRule>The Object Lock rule in place for the specified object.
Trait Implementations§
Source§impl Clone for ObjectLockConfiguration
impl Clone for ObjectLockConfiguration
Source§fn clone(&self) -> ObjectLockConfiguration
fn clone(&self) -> ObjectLockConfiguration
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 ObjectLockConfiguration
impl Debug for ObjectLockConfiguration
Source§impl Default for ObjectLockConfiguration
impl Default for ObjectLockConfiguration
Source§fn default() -> ObjectLockConfiguration
fn default() -> ObjectLockConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObjectLockConfiguration
impl PartialEq for ObjectLockConfiguration
impl StructuralPartialEq for ObjectLockConfiguration
Auto Trait Implementations§
impl Freeze for ObjectLockConfiguration
impl RefUnwindSafe for ObjectLockConfiguration
impl Send for ObjectLockConfiguration
impl Sync for ObjectLockConfiguration
impl Unpin for ObjectLockConfiguration
impl UnwindSafe for ObjectLockConfiguration
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