Struct aws_sdk_s3::types::CompletedPart
source · #[non_exhaustive]pub struct CompletedPart {
pub e_tag: Option<String>,
pub checksum_crc32: Option<String>,
pub checksum_crc32_c: Option<String>,
pub checksum_sha1: Option<String>,
pub checksum_sha256: Option<String>,
pub part_number: Option<i32>,
}
Expand description
Details of the parts that were uploaded.
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.e_tag: Option<String>
Entity tag returned when the part was uploaded.
checksum_crc32: Option<String>
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_crc32_c: Option<String>
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha1: Option<String>
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha256: Option<String>
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
part_number: Option<i32>
Part number that identifies the part. This is a positive integer between 1 and 10,000.
-
General purpose buckets - In
CompleteMultipartUpload
, when a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) is applied to each part, thePartNumber
must start at 1 and the part numbers must be consecutive. Otherwise, Amazon S3 generates an HTTP400 Bad Request
status code and anInvalidPartOrder
error code. -
Directory buckets - In
CompleteMultipartUpload
, thePartNumber
must start at 1 and the part numbers must be consecutive.
Implementations§
source§impl CompletedPart
impl CompletedPart
sourcepub fn checksum_crc32(&self) -> Option<&str>
pub fn checksum_crc32(&self) -> Option<&str>
The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
sourcepub fn checksum_crc32_c(&self) -> Option<&str>
pub fn checksum_crc32_c(&self) -> Option<&str>
The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
sourcepub fn checksum_sha1(&self) -> Option<&str>
pub fn checksum_sha1(&self) -> Option<&str>
The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
sourcepub fn checksum_sha256(&self) -> Option<&str>
pub fn checksum_sha256(&self) -> Option<&str>
The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
sourcepub fn part_number(&self) -> Option<i32>
pub fn part_number(&self) -> Option<i32>
Part number that identifies the part. This is a positive integer between 1 and 10,000.
-
General purpose buckets - In
CompleteMultipartUpload
, when a additional checksum (includingx-amz-checksum-crc32
,x-amz-checksum-crc32c
,x-amz-checksum-sha1
, orx-amz-checksum-sha256
) is applied to each part, thePartNumber
must start at 1 and the part numbers must be consecutive. Otherwise, Amazon S3 generates an HTTP400 Bad Request
status code and anInvalidPartOrder
error code. -
Directory buckets - In
CompleteMultipartUpload
, thePartNumber
must start at 1 and the part numbers must be consecutive.
source§impl CompletedPart
impl CompletedPart
sourcepub fn builder() -> CompletedPartBuilder
pub fn builder() -> CompletedPartBuilder
Creates a new builder-style object to manufacture CompletedPart
.
Trait Implementations§
source§impl Clone for CompletedPart
impl Clone for CompletedPart
source§fn clone(&self) -> CompletedPart
fn clone(&self) -> CompletedPart
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CompletedPart
impl Debug for CompletedPart
source§impl PartialEq for CompletedPart
impl PartialEq for CompletedPart
impl StructuralPartialEq for CompletedPart
Auto Trait Implementations§
impl Freeze for CompletedPart
impl RefUnwindSafe for CompletedPart
impl Send for CompletedPart
impl Sync for CompletedPart
impl Unpin for CompletedPart
impl UnwindSafe for CompletedPart
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)