Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::ChecksumBuilder
#[non_exhaustive]pub struct ChecksumBuilder { /* private fields */ }
Expand description
A builder for Checksum
.
Implementations§
§impl ChecksumBuilder
impl ChecksumBuilder
pub fn checksum_crc32(self, input: impl Into<String>) -> ChecksumBuilder
pub fn checksum_crc32(self, input: impl Into<String>) -> ChecksumBuilder
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 set_checksum_crc32(self, input: Option<String>) -> ChecksumBuilder
pub fn set_checksum_crc32(self, input: Option<String>) -> ChecksumBuilder
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 get_checksum_crc32(&self) -> &Option<String>
pub fn get_checksum_crc32(&self) -> &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.
pub fn checksum_crc32_c(self, input: impl Into<String>) -> ChecksumBuilder
pub fn checksum_crc32_c(self, input: impl Into<String>) -> ChecksumBuilder
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 set_checksum_crc32_c(self, input: Option<String>) -> ChecksumBuilder
pub fn set_checksum_crc32_c(self, input: Option<String>) -> ChecksumBuilder
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 get_checksum_crc32_c(&self) -> &Option<String>
pub fn get_checksum_crc32_c(&self) -> &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.
pub fn checksum_sha1(self, input: impl Into<String>) -> ChecksumBuilder
pub fn checksum_sha1(self, input: impl Into<String>) -> ChecksumBuilder
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 set_checksum_sha1(self, input: Option<String>) -> ChecksumBuilder
pub fn set_checksum_sha1(self, input: Option<String>) -> ChecksumBuilder
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 get_checksum_sha1(&self) -> &Option<String>
pub fn get_checksum_sha1(&self) -> &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.
pub fn checksum_sha256(self, input: impl Into<String>) -> ChecksumBuilder
pub fn checksum_sha256(self, input: impl Into<String>) -> ChecksumBuilder
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.
pub fn set_checksum_sha256(self, input: Option<String>) -> ChecksumBuilder
pub fn set_checksum_sha256(self, input: Option<String>) -> ChecksumBuilder
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.
pub fn get_checksum_sha256(&self) -> &Option<String>
pub fn get_checksum_sha256(&self) -> &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.
Trait Implementations§
§impl Clone for ChecksumBuilder
impl Clone for ChecksumBuilder
§fn clone(&self) -> ChecksumBuilder
fn clone(&self) -> ChecksumBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for ChecksumBuilder
impl Debug for ChecksumBuilder
§impl Default for ChecksumBuilder
impl Default for ChecksumBuilder
§fn default() -> ChecksumBuilder
fn default() -> ChecksumBuilder
§impl PartialEq for ChecksumBuilder
impl PartialEq for ChecksumBuilder
§fn eq(&self, other: &ChecksumBuilder) -> bool
fn eq(&self, other: &ChecksumBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.