Struct aws_sdk_s3::model::ObjectVersion
source · [−]#[non_exhaustive]pub struct ObjectVersion { /* private fields */ }
Expand description
The version of an object.
Implementations
sourceimpl ObjectVersion
impl ObjectVersion
sourcepub fn e_tag(&self) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
The entity tag is an MD5 hash of that version of the object.
sourcepub fn checksum_algorithm(&self) -> Option<&[ChecksumAlgorithm]>
pub fn checksum_algorithm(&self) -> Option<&[ChecksumAlgorithm]>
The algorithm that was used to create a checksum of the object.
sourcepub fn storage_class(&self) -> Option<&ObjectVersionStorageClass>
pub fn storage_class(&self) -> Option<&ObjectVersionStorageClass>
The class of storage used to store the object.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Version ID of an object.
sourcepub fn is_latest(&self) -> bool
pub fn is_latest(&self) -> bool
Specifies whether the object is (true) or is not (false) the latest version of an object.
sourcepub fn last_modified(&self) -> Option<&DateTime>
pub fn last_modified(&self) -> Option<&DateTime>
Date and time the object was last modified.
sourceimpl ObjectVersion
impl ObjectVersion
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ObjectVersion
.
Trait Implementations
sourceimpl Clone for ObjectVersion
impl Clone for ObjectVersion
sourcefn clone(&self) -> ObjectVersion
fn clone(&self) -> ObjectVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ObjectVersion
impl Debug for ObjectVersion
sourceimpl PartialEq<ObjectVersion> for ObjectVersion
impl PartialEq<ObjectVersion> for ObjectVersion
sourcefn eq(&self, other: &ObjectVersion) -> bool
fn eq(&self, other: &ObjectVersion) -> bool
impl StructuralPartialEq for ObjectVersion
Auto Trait Implementations
impl RefUnwindSafe for ObjectVersion
impl Send for ObjectVersion
impl Sync for ObjectVersion
impl Unpin for ObjectVersion
impl UnwindSafe for ObjectVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more