Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::upload_part_copy::UploadPartCopyOutput
pub struct UploadPartCopyOutput {
pub copy_source_version_id: Option<String>,
pub copy_part_result: Option<CopyPartResult>,
pub server_side_encryption: Option<ServerSideEncryption>,
pub sse_customer_algorithm: Option<String>,
pub sse_customer_key_md5: Option<String>,
pub ssekms_key_id: Option<String>,
pub bucket_key_enabled: bool,
pub request_charged: Option<RequestCharged>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.copy_source_version_id: Option<String>
The version of the source object that was copied, if you have enabled versioning on the source bucket.
copy_part_result: Option<CopyPartResult>
Container for all response elements.
server_side_encryption: Option<ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
sse_customer_algorithm: Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
sse_customer_key_md5: Option<String>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
ssekms_key_id: Option<String>
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
bucket_key_enabled: bool
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
request_charged: Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
Implementations§
§impl UploadPartCopyOutput
impl UploadPartCopyOutput
pub fn copy_source_version_id(&self) -> Option<&str>
pub fn copy_source_version_id(&self) -> Option<&str>
The version of the source object that was copied, if you have enabled versioning on the source bucket.
pub fn copy_part_result(&self) -> Option<&CopyPartResult>
pub fn copy_part_result(&self) -> Option<&CopyPartResult>
Container for all response elements.
pub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
pub fn server_side_encryption(&self) -> Option<&ServerSideEncryption>
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
pub fn sse_customer_algorithm(&self) -> Option<&str>
pub fn sse_customer_algorithm(&self) -> Option<&str>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header confirming the encryption algorithm used.
pub fn sse_customer_key_md5(&self) -> Option<&str>
pub fn sse_customer_key_md5(&self) -> Option<&str>
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide round-trip message integrity verification of the customer-provided encryption key.
pub fn ssekms_key_id(&self) -> Option<&str>
pub fn ssekms_key_id(&self) -> Option<&str>
If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
pub fn bucket_key_enabled(&self) -> bool
pub fn bucket_key_enabled(&self) -> bool
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
pub fn request_charged(&self) -> Option<&RequestCharged>
pub fn request_charged(&self) -> Option<&RequestCharged>
If present, indicates that the requester was successfully charged for the request.
§impl UploadPartCopyOutput
impl UploadPartCopyOutput
pub fn builder() -> UploadPartCopyOutputBuilder
pub fn builder() -> UploadPartCopyOutputBuilder
Creates a new builder-style object to manufacture UploadPartCopyOutput
.
Trait Implementations§
§impl Clone for UploadPartCopyOutput
impl Clone for UploadPartCopyOutput
§fn clone(&self) -> UploadPartCopyOutput
fn clone(&self) -> UploadPartCopyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for UploadPartCopyOutput
impl Debug for UploadPartCopyOutput
§impl PartialEq<UploadPartCopyOutput> for UploadPartCopyOutput
impl PartialEq<UploadPartCopyOutput> for UploadPartCopyOutput
§fn eq(&self, other: &UploadPartCopyOutput) -> bool
fn eq(&self, other: &UploadPartCopyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.§impl RequestId for UploadPartCopyOutput
impl RequestId for UploadPartCopyOutput
§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.