Struct aws_sdk_s3::types::ObjectVersion
source · #[non_exhaustive]pub struct ObjectVersion { /* private fields */ }
Expand description
The version of an object.
Implementations§
source§impl 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.
source§impl ObjectVersion
impl ObjectVersion
sourcepub fn builder() -> ObjectVersionBuilder
pub fn builder() -> ObjectVersionBuilder
Creates a new builder-style object to manufacture ObjectVersion
.
Trait Implementations§
source§impl Clone for ObjectVersion
impl Clone for ObjectVersion
source§fn clone(&self) -> ObjectVersion
fn clone(&self) -> ObjectVersion
Returns a copy of the value. Read more
1.0.0 · 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 ObjectVersion
impl Debug for ObjectVersion
source§impl PartialEq<ObjectVersion> for ObjectVersion
impl PartialEq<ObjectVersion> for ObjectVersion
source§fn eq(&self, other: &ObjectVersion) -> bool
fn eq(&self, other: &ObjectVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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