pub struct S3Checksums {
pub crc32: Option<String>,
pub crc32c: Option<String>,
pub crc64nvme: Option<String>,
pub sha256: Option<String>,
pub etag: Option<String>,
}Expand description
The checksum values an S3 GetObject (with ChecksumMode::Enabled) may
return. Each checksum_* is base64; etag is the raw ETag header.
Fields§
§crc32: Option<String>§crc32c: Option<String>§crc64nvme: Option<String>§sha256: Option<String>§etag: Option<String>Implementations§
Source§impl S3Checksums
impl S3Checksums
Sourcepub fn has_verifiable(&self) -> bool
pub fn has_verifiable(&self) -> bool
True when at least one field that checksum_check can verify is
present (used to distinguish “no checksum advertised” from “only an
unsupported algorithm advertised”).
Trait Implementations§
Source§impl Clone for S3Checksums
impl Clone for S3Checksums
Source§fn clone(&self) -> S3Checksums
fn clone(&self) -> S3Checksums
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for S3Checksums
impl Debug for S3Checksums
Source§impl Default for S3Checksums
impl Default for S3Checksums
Source§fn default() -> S3Checksums
fn default() -> S3Checksums
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for S3Checksums
impl RefUnwindSafe for S3Checksums
impl Send for S3Checksums
impl Sync for S3Checksums
impl Unpin for S3Checksums
impl UnsafeUnpin for S3Checksums
impl UnwindSafe for S3Checksums
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.