pub struct ObjectLockRule {
pub default_retention: Option<DefaultRetention>,
}Expand description
The container element for an Object Lock rule.
Fields§
§default_retention: Option<DefaultRetention>The default retention period that you want to apply to new objects placed in the specified bucket.
Trait Implementations§
Source§impl Clone for ObjectLockRule
impl Clone for ObjectLockRule
Source§fn clone(&self) -> ObjectLockRule
fn clone(&self) -> ObjectLockRule
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 ObjectLockRule
impl Debug for ObjectLockRule
Source§impl Default for ObjectLockRule
impl Default for ObjectLockRule
Source§fn default() -> ObjectLockRule
fn default() -> ObjectLockRule
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObjectLockRule
impl PartialEq for ObjectLockRule
impl StructuralPartialEq for ObjectLockRule
Auto Trait Implementations§
impl Freeze for ObjectLockRule
impl RefUnwindSafe for ObjectLockRule
impl Send for ObjectLockRule
impl Sync for ObjectLockRule
impl Unpin for ObjectLockRule
impl UnwindSafe for ObjectLockRule
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