pub struct B2ObjectLockValue {
pub default_retention: B2BucketRetention,
pub is_file_lock_enabled: bool,
}Fields§
§default_retention: B2BucketRetention§is_file_lock_enabled: boolTrait Implementations§
Source§impl Clone for B2ObjectLockValue
impl Clone for B2ObjectLockValue
Source§fn clone(&self) -> B2ObjectLockValue
fn clone(&self) -> B2ObjectLockValue
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 B2ObjectLockValue
impl Debug for B2ObjectLockValue
Source§impl<'de> Deserialize<'de> for B2ObjectLockValue
impl<'de> Deserialize<'de> for B2ObjectLockValue
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
Auto Trait Implementations§
impl Freeze for B2ObjectLockValue
impl RefUnwindSafe for B2ObjectLockValue
impl Send for B2ObjectLockValue
impl Sync for B2ObjectLockValue
impl Unpin for B2ObjectLockValue
impl UnwindSafe for B2ObjectLockValue
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