pub struct PutObjectLegalHoldInput {
pub bucket: String,
pub checksum_algorithm: Option<ChecksumAlgorithm>,
pub content_md5: Option<String>,
pub expected_bucket_owner: Option<String>,
pub key: String,
pub legal_hold: Option<ObjectLockLegalHold>,
pub request_payer: Option<RequestPayer>,
pub version_id: Option<String>,
}Expand description
S3 PutObjectLegalHoldInput.
Fields§
§bucket: StringHTTP label (URI path).
checksum_algorithm: Option<ChecksumAlgorithm>HTTP header: x-amz-sdk-checksum-algorithm.
content_md5: Option<String>HTTP header: Content-MD5.
expected_bucket_owner: Option<String>HTTP header: x-amz-expected-bucket-owner.
key: StringHTTP label (URI path).
legal_hold: Option<ObjectLockLegalHold>HTTP payload body.
request_payer: Option<RequestPayer>HTTP header: x-amz-request-payer.
version_id: Option<String>HTTP query: versionId.
Trait Implementations§
Source§impl Clone for PutObjectLegalHoldInput
impl Clone for PutObjectLegalHoldInput
Source§fn clone(&self) -> PutObjectLegalHoldInput
fn clone(&self) -> PutObjectLegalHoldInput
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 Debug for PutObjectLegalHoldInput
impl Debug for PutObjectLegalHoldInput
Source§impl Default for PutObjectLegalHoldInput
impl Default for PutObjectLegalHoldInput
Source§fn default() -> PutObjectLegalHoldInput
fn default() -> PutObjectLegalHoldInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PutObjectLegalHoldInput
impl RefUnwindSafe for PutObjectLegalHoldInput
impl Send for PutObjectLegalHoldInput
impl Sync for PutObjectLegalHoldInput
impl Unpin for PutObjectLegalHoldInput
impl UnsafeUnpin for PutObjectLegalHoldInput
impl UnwindSafe for PutObjectLegalHoldInput
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