#[non_exhaustive]pub struct AnnotationEntry {
pub annotation_name: String,
pub last_modified: DateTime,
pub e_tag: Option<String>,
pub checksum_algorithm: Option<Vec<ChecksumAlgorithm>>,
pub size: i64,
pub replication_status: Option<ReplicationStatus>,
}Expand description
Describes a single annotation attached to an object, including its name, last modified time, size, ETag, checksum algorithm, and replication status. Returned in the response from ListObjectAnnotations.
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.annotation_name: StringThe name of the annotation.
last_modified: DateTimeThe date and time the annotation was last modified.
e_tag: Option<String>The entity tag of the annotation.
checksum_algorithm: Option<Vec<ChecksumAlgorithm>>The checksum algorithm used for the annotation.
size: i64The size of the annotation payload, in bytes.
replication_status: Option<ReplicationStatus>The replication status of the annotation.
Implementations§
Source§impl AnnotationEntry
impl AnnotationEntry
Sourcepub fn annotation_name(&self) -> &str
pub fn annotation_name(&self) -> &str
The name of the annotation.
Sourcepub fn last_modified(&self) -> &DateTime
pub fn last_modified(&self) -> &DateTime
The date and time the annotation was last modified.
Sourcepub fn checksum_algorithm(&self) -> &[ChecksumAlgorithm]
pub fn checksum_algorithm(&self) -> &[ChecksumAlgorithm]
The checksum algorithm used for the annotation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .checksum_algorithm.is_none().
Sourcepub fn replication_status(&self) -> Option<&ReplicationStatus>
pub fn replication_status(&self) -> Option<&ReplicationStatus>
The replication status of the annotation.
Source§impl AnnotationEntry
impl AnnotationEntry
Sourcepub fn builder() -> AnnotationEntryBuilder
pub fn builder() -> AnnotationEntryBuilder
Creates a new builder-style object to manufacture AnnotationEntry.
Trait Implementations§
Source§impl Clone for AnnotationEntry
impl Clone for AnnotationEntry
Source§fn clone(&self) -> AnnotationEntry
fn clone(&self) -> AnnotationEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AnnotationEntry
impl Debug for AnnotationEntry
Source§impl PartialEq for AnnotationEntry
impl PartialEq for AnnotationEntry
impl StructuralPartialEq for AnnotationEntry
Auto Trait Implementations§
impl Freeze for AnnotationEntry
impl RefUnwindSafe for AnnotationEntry
impl Send for AnnotationEntry
impl Sync for AnnotationEntry
impl Unpin for AnnotationEntry
impl UnsafeUnpin for AnnotationEntry
impl UnwindSafe for AnnotationEntry
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§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> ⓘ
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> ⓘ
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 more