pub struct ObjectVersion {
pub key: String,
pub last_modified: String,
pub is_latest: bool,
pub e_tag: String,
pub size: u64,
pub storage_class: String,
pub owner: Option<Owner>,
pub version_id: Option<String>,
}Fields§
§key: StringThe object key.
last_modified: StringDate and time when the object was last modified.
is_latest: boolSpecifies whether the object is (true) or is not (false) the latest version of an object.
e_tag: StringThe entity tag is an MD5 hash of that version of the object.
size: u64§storage_class: String§owner: Option<Owner>§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 duplicate 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<'de> Deserialize<'de> for ObjectVersion
impl<'de> Deserialize<'de> for ObjectVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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