Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::CopyObjectResult
#[non_exhaustive]pub struct CopyObjectResult {
pub e_tag: Option<String>,
pub last_modified: Option<DateTime>,
pub checksum_crc32: Option<String>,
pub checksum_crc32_c: Option<String>,
pub checksum_sha1: Option<String>,
pub checksum_sha256: Option<String>,
}
Expand description
Container for all response elements.
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>
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
last_modified: Option<DateTime>
Creation date of the object.
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. With multipart uploads, this may not be a checksum value of the object. 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. With multipart uploads, this may not be a checksum value of the object. 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. With multipart uploads, this may not be a checksum value of the object. 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. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
Implementations§
§impl CopyObjectResult
impl CopyObjectResult
pub fn e_tag(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
pub fn last_modified(&self) -> Option<&DateTime>
pub fn last_modified(&self) -> Option<&DateTime>
Creation date of the object.
pub 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. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub 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. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub 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. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
pub 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. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
§impl CopyObjectResult
impl CopyObjectResult
pub fn builder() -> CopyObjectResultBuilder
pub fn builder() -> CopyObjectResultBuilder
Creates a new builder-style object to manufacture CopyObjectResult
.
Trait Implementations§
§impl Clone for CopyObjectResult
impl Clone for CopyObjectResult
§fn clone(&self) -> CopyObjectResult
fn clone(&self) -> CopyObjectResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for CopyObjectResult
impl Debug for CopyObjectResult
§impl PartialEq for CopyObjectResult
impl PartialEq for CopyObjectResult
§fn eq(&self, other: &CopyObjectResult) -> bool
fn eq(&self, other: &CopyObjectResult) -> bool
self
and other
values to be equal, and is used
by ==
.