pub struct ObjectVersion {
pub key: String,
pub version_id: String,
pub is_latest: bool,
pub is_delete_marker: bool,
pub last_modified: Option<Timestamp>,
pub size_bytes: Option<i64>,
pub etag: Option<String>,
}Expand description
Metadata for an object version
Fields§
§key: StringObject key
version_id: StringVersion ID
is_latest: boolWhether this is the latest version
is_delete_marker: boolWhether this is a delete marker
last_modified: Option<Timestamp>Last modified timestamp
size_bytes: Option<i64>Size in bytes
etag: Option<String>ETag
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 UnsafeUnpin 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