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