pub struct PutObjectLockConfigurationRequest {
pub bucket: String,
pub object_lock_configuration: Option<ObjectLockConfiguration>,
pub request_payer: Option<String>,
pub token: Option<String>,
}Fields§
§bucket: StringThe bucket whose Object Lock configuration you want to create or replace.
object_lock_configuration: Option<ObjectLockConfiguration>The Object Lock configuration that you want to apply to the specified bucket.
request_payer: Option<String>§token: Option<String>A token to allow Object Lock to be enabled for an existing bucket.
Trait Implementations§
Source§impl Clone for PutObjectLockConfigurationRequest
impl Clone for PutObjectLockConfigurationRequest
Source§fn clone(&self) -> PutObjectLockConfigurationRequest
fn clone(&self) -> PutObjectLockConfigurationRequest
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 Default for PutObjectLockConfigurationRequest
impl Default for PutObjectLockConfigurationRequest
Source§fn default() -> PutObjectLockConfigurationRequest
fn default() -> PutObjectLockConfigurationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for PutObjectLockConfigurationRequest
impl PartialEq for PutObjectLockConfigurationRequest
Source§fn eq(&self, other: &PutObjectLockConfigurationRequest) -> bool
fn eq(&self, other: &PutObjectLockConfigurationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutObjectLockConfigurationRequest
Auto Trait Implementations§
impl Freeze for PutObjectLockConfigurationRequest
impl RefUnwindSafe for PutObjectLockConfigurationRequest
impl Send for PutObjectLockConfigurationRequest
impl Sync for PutObjectLockConfigurationRequest
impl Unpin for PutObjectLockConfigurationRequest
impl UnwindSafe for PutObjectLockConfigurationRequest
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