pub struct ObjectStats {
pub path: String,
pub physical_address: String,
pub size_bytes: u64,
pub content_type: String,
pub mtime: i64,
pub checksum: String,
}Expand description
Object metadata returned by the stat endpoint.
Fields§
§path: String§physical_address: String§size_bytes: u64§content_type: String§mtime: i64Unix-epoch seconds.
checksum: StringTrait Implementations§
Source§impl Clone for ObjectStats
impl Clone for ObjectStats
Source§fn clone(&self) -> ObjectStats
fn clone(&self) -> ObjectStats
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 ObjectStats
impl Debug for ObjectStats
Source§impl<'de> Deserialize<'de> for ObjectStats
impl<'de> Deserialize<'de> for ObjectStats
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 ObjectStats
impl RefUnwindSafe for ObjectStats
impl Send for ObjectStats
impl Sync for ObjectStats
impl Unpin for ObjectStats
impl UnsafeUnpin for ObjectStats
impl UnwindSafe for ObjectStats
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