CopyObjectRequest

Struct CopyObjectRequest 

Source
pub struct CopyObjectRequest {
Show 40 fields pub acl: Option<ObjectCannedACL>, pub bucket: BucketName, pub cache_control: Option<CacheControl>, pub content_disposition: Option<ContentDisposition>, pub content_encoding: Option<ContentEncoding>, pub content_language: Option<ContentLanguage>, pub content_type: Option<ContentType>, pub copy_source: CopySource, pub copy_source_if_match: Option<CopySourceIfMatch>, pub copy_source_if_modified_since: Option<CopySourceIfModifiedSince>, pub copy_source_if_none_match: Option<CopySourceIfNoneMatch>, pub copy_source_if_unmodified_since: Option<CopySourceIfUnmodifiedSince>, pub expires: Option<Expires>, pub grant_full_control: Option<GrantFullControl>, pub grant_read: Option<GrantRead>, pub grant_read_acp: Option<GrantReadACP>, pub grant_write_acp: Option<GrantWriteACP>, pub key: ObjectKey, pub metadata: Option<Metadata>, pub metadata_directive: Option<MetadataDirective>, pub tagging_directive: Option<TaggingDirective>, pub server_side_encryption: Option<ServerSideEncryption>, pub storage_class: Option<StorageClass>, pub website_redirect_location: Option<WebsiteRedirectLocation>, pub sse_customer_algorithm: Option<SSECustomerAlgorithm>, pub sse_customer_key: Option<SSECustomerKey>, pub sse_customer_key_md5: Option<SSECustomerKeyMD5>, pub ssekms_key_id: Option<SSEKMSKeyId>, pub ssekms_encryption_context: Option<SSEKMSEncryptionContext>, pub bucket_key_enabled: Option<BucketKeyEnabled>, pub copy_source_sse_customer_algorithm: Option<CopySourceSSECustomerAlgorithm>, pub copy_source_sse_customer_key: Option<CopySourceSSECustomerKey>, pub copy_source_sse_customer_key_md5: Option<CopySourceSSECustomerKeyMD5>, pub request_payer: Option<RequestPayer>, pub tagging: Option<TaggingHeader>, pub object_lock_mode: Option<ObjectLockMode>, pub object_lock_retain_until_date: Option<ObjectLockRetainUntilDate>, pub object_lock_legal_hold_status: Option<ObjectLockLegalHoldStatus>, pub expected_bucket_owner: Option<AccountId>, pub expected_source_bucket_owner: Option<AccountId>,
}

Fields§

§acl: Option<ObjectCannedACL>§bucket: BucketName§cache_control: Option<CacheControl>§content_disposition: Option<ContentDisposition>§content_encoding: Option<ContentEncoding>§content_language: Option<ContentLanguage>§content_type: Option<ContentType>§copy_source: CopySource§copy_source_if_match: Option<CopySourceIfMatch>§copy_source_if_modified_since: Option<CopySourceIfModifiedSince>§copy_source_if_none_match: Option<CopySourceIfNoneMatch>§copy_source_if_unmodified_since: Option<CopySourceIfUnmodifiedSince>§expires: Option<Expires>§grant_full_control: Option<GrantFullControl>§grant_read: Option<GrantRead>§grant_read_acp: Option<GrantReadACP>§grant_write_acp: Option<GrantWriteACP>§key: ObjectKey§metadata: Option<Metadata>§metadata_directive: Option<MetadataDirective>§tagging_directive: Option<TaggingDirective>§server_side_encryption: Option<ServerSideEncryption>§storage_class: Option<StorageClass>§website_redirect_location: Option<WebsiteRedirectLocation>§sse_customer_algorithm: Option<SSECustomerAlgorithm>§sse_customer_key: Option<SSECustomerKey>§sse_customer_key_md5: Option<SSECustomerKeyMD5>§ssekms_key_id: Option<SSEKMSKeyId>§ssekms_encryption_context: Option<SSEKMSEncryptionContext>§bucket_key_enabled: Option<BucketKeyEnabled>§copy_source_sse_customer_algorithm: Option<CopySourceSSECustomerAlgorithm>§copy_source_sse_customer_key: Option<CopySourceSSECustomerKey>§copy_source_sse_customer_key_md5: Option<CopySourceSSECustomerKeyMD5>§request_payer: Option<RequestPayer>§tagging: Option<TaggingHeader>§object_lock_mode: Option<ObjectLockMode>§object_lock_retain_until_date: Option<ObjectLockRetainUntilDate>§object_lock_legal_hold_status: Option<ObjectLockLegalHoldStatus>§expected_bucket_owner: Option<AccountId>§expected_source_bucket_owner: Option<AccountId>

Trait Implementations§

Source§

impl Debug for CopyObjectRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CopyObjectRequest

Source§

fn default() -> CopyObjectRequest

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CopyObjectRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CopyObjectRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,