Struct aws_sdk_s3::types::MultipartUpload
source · #[non_exhaustive]pub struct MultipartUpload {
pub upload_id: Option<String>,
pub key: Option<String>,
pub initiated: Option<DateTime>,
pub storage_class: Option<StorageClass>,
pub owner: Option<Owner>,
pub initiator: Option<Initiator>,
pub checksum_algorithm: Option<ChecksumAlgorithm>,
}
Expand description
Container for the MultipartUpload
for the Amazon S3 object.
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.upload_id: Option<String>
Upload ID that identifies the multipart upload.
key: Option<String>
Key of the object for which the multipart upload was initiated.
initiated: Option<DateTime>
Date and time at which the multipart upload was initiated.
storage_class: Option<StorageClass>
The class of storage used to store the object.
Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
owner: Option<Owner>
Specifies the owner of the object that is part of the multipart upload.
Directory buckets - The bucket owner is returned as the object owner for all the objects.
initiator: Option<Initiator>
Identifies who initiated the multipart upload.
checksum_algorithm: Option<ChecksumAlgorithm>
The algorithm that was used to create a checksum of the object.
Implementations§
source§impl MultipartUpload
impl MultipartUpload
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
Key of the object for which the multipart upload was initiated.
sourcepub fn initiated(&self) -> Option<&DateTime>
pub fn initiated(&self) -> Option<&DateTime>
Date and time at which the multipart upload was initiated.
sourcepub fn storage_class(&self) -> Option<&StorageClass>
pub fn storage_class(&self) -> Option<&StorageClass>
The class of storage used to store the object.
Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.
sourcepub fn owner(&self) -> Option<&Owner>
pub fn owner(&self) -> Option<&Owner>
Specifies the owner of the object that is part of the multipart upload.
Directory buckets - The bucket owner is returned as the object owner for all the objects.
sourcepub fn checksum_algorithm(&self) -> Option<&ChecksumAlgorithm>
pub fn checksum_algorithm(&self) -> Option<&ChecksumAlgorithm>
The algorithm that was used to create a checksum of the object.
source§impl MultipartUpload
impl MultipartUpload
sourcepub fn builder() -> MultipartUploadBuilder
pub fn builder() -> MultipartUploadBuilder
Creates a new builder-style object to manufacture MultipartUpload
.
Trait Implementations§
source§impl Clone for MultipartUpload
impl Clone for MultipartUpload
source§fn clone(&self) -> MultipartUpload
fn clone(&self) -> MultipartUpload
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultipartUpload
impl Debug for MultipartUpload
source§impl PartialEq for MultipartUpload
impl PartialEq for MultipartUpload
source§fn eq(&self, other: &MultipartUpload) -> bool
fn eq(&self, other: &MultipartUpload) -> bool
self
and other
values to be equal, and is used
by ==
.