pub struct ObjectMetadata {
pub size: u64,
pub last_modified: SystemTime,
pub content_type: Option<String>,
pub etag: Option<String>,
pub storage_class: Option<String>,
}Expand description
Metadata about a storage object.
Fields§
§size: u64Size of the object in bytes.
last_modified: SystemTimeWhen the object was last modified.
content_type: Option<String>Content type of the object (e.g., “application/json”).
etag: Option<String>ETag or version identifier.
storage_class: Option<String>Storage class/tier (e.g., “STANDARD”, “GLACIER”, “ARCHIVE”).
Trait Implementations§
Source§impl Clone for ObjectMetadata
impl Clone for ObjectMetadata
Source§fn clone(&self) -> ObjectMetadata
fn clone(&self) -> ObjectMetadata
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 moreAuto Trait Implementations§
impl Freeze for ObjectMetadata
impl RefUnwindSafe for ObjectMetadata
impl Send for ObjectMetadata
impl Sync for ObjectMetadata
impl Unpin for ObjectMetadata
impl UnwindSafe for ObjectMetadata
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