pub struct BucketObjectLockConfiguration {
pub enabled: bool,
pub default_retention: Option<DefaultRetention>,
}Expand description
Bucket Object Lock configuration.
Fields§
§enabled: boolWhether Object Lock is enabled for the bucket.
default_retention: Option<DefaultRetention>Optional default retention rule.
Trait Implementations§
Source§impl Clone for BucketObjectLockConfiguration
impl Clone for BucketObjectLockConfiguration
Source§fn clone(&self) -> BucketObjectLockConfiguration
fn clone(&self) -> BucketObjectLockConfiguration
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<'de> Deserialize<'de> for BucketObjectLockConfiguration
impl<'de> Deserialize<'de> for BucketObjectLockConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BucketObjectLockConfiguration
impl StructuralPartialEq for BucketObjectLockConfiguration
Auto Trait Implementations§
impl Freeze for BucketObjectLockConfiguration
impl RefUnwindSafe for BucketObjectLockConfiguration
impl Send for BucketObjectLockConfiguration
impl Sync for BucketObjectLockConfiguration
impl Unpin for BucketObjectLockConfiguration
impl UnsafeUnpin for BucketObjectLockConfiguration
impl UnwindSafe for BucketObjectLockConfiguration
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