pub struct LockRetentionPolicyRequest {
pub bucket: String,
pub if_metageneration_match: i64,
}Expand description
Request message for LockRetentionPolicy.
Fields§
§bucket: StringRequired. Name of a bucket.
if_metageneration_match: i64Makes the operation conditional on whether bucket’s current metageneration matches the given value. Must be positive.
Trait Implementations§
Source§impl Clone for LockRetentionPolicyRequest
impl Clone for LockRetentionPolicyRequest
Source§fn clone(&self) -> LockRetentionPolicyRequest
fn clone(&self) -> LockRetentionPolicyRequest
Returns a copy 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 LockRetentionPolicyRequest
impl Debug for LockRetentionPolicyRequest
Source§impl<'de> Deserialize<'de> for LockRetentionPolicyRequest
impl<'de> Deserialize<'de> for LockRetentionPolicyRequest
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 LockRetentionPolicyRequest
impl StructuralPartialEq for LockRetentionPolicyRequest
Auto Trait Implementations§
impl Freeze for LockRetentionPolicyRequest
impl RefUnwindSafe for LockRetentionPolicyRequest
impl Send for LockRetentionPolicyRequest
impl Sync for LockRetentionPolicyRequest
impl Unpin for LockRetentionPolicyRequest
impl UnwindSafe for LockRetentionPolicyRequest
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