[][src]Struct rusoto_s3::PutObjectRetentionRequest

pub struct PutObjectRetentionRequest {
    pub bucket: String,
    pub bypass_governance_retention: Option<bool>,
    pub content_md5: Option<String>,
    pub key: String,
    pub request_payer: Option<String>,
    pub retention: Option<ObjectLockRetention>,
    pub version_id: Option<String>,
}

Fields

bucket: String

The bucket that contains the object you want to apply this Object Retention configuration to.

bypass_governance_retention: Option<bool>

Indicates whether this operation should bypass Governance-mode restrictions.j

content_md5: Option<String>

The MD5 hash for the request body.

key: String

The key name for the object that you want to apply this Object Retention configuration to.

request_payer: Option<String>retention: Option<ObjectLockRetention>

The container element for the Object Retention configuration.

version_id: Option<String>

The version ID for the object that you want to apply this Object Retention configuration to.

Trait Implementations

impl PartialEq<PutObjectRetentionRequest> for PutObjectRetentionRequest[src]

impl Default for PutObjectRetentionRequest[src]

impl Clone for PutObjectRetentionRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PutObjectRetentionRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self