pub struct ObjectVersion {
pub e_tag: Option<String>,
pub is_latest: Option<bool>,
pub key: Option<String>,
pub last_modified: Option<String>,
pub owner: Option<Owner>,
pub size: Option<i64>,
pub storage_class: Option<String>,
pub version_id: Option<String>,
}
Expand description
The version of an object.
Fields§
§e_tag: Option<String>
The entity tag is an MD5 hash of that version of the object.
is_latest: Option<bool>
Specifies whether the object is (true) or is not (false) the latest version of an object.
key: Option<String>
The object key.
last_modified: Option<String>
Date and time the object was last modified.
owner: Option<Owner>
Specifies the owner of the object.
size: Option<i64>
Size in bytes of the object.
storage_class: Option<String>
The class of storage used to store the object.
version_id: Option<String>
Version ID of an object.
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 Default for ObjectVersion
impl Default for ObjectVersion
Source§fn default() -> ObjectVersion
fn default() -> ObjectVersion
Returns the “default value” for a type. Read more
Source§impl PartialEq for ObjectVersion
impl PartialEq for ObjectVersion
impl StructuralPartialEq for ObjectVersion
Auto Trait Implementations§
impl Freeze for ObjectVersion
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