pub struct StorageMetadata {
pub size_bytes: u64,
pub modified: Option<DateTime<Utc>>,
pub content_type: Option<String>,
pub checksum: Option<String>,
}Expand description
Metadata about a single file/object in storage.
Fields§
§size_bytes: u64Size in bytes.
modified: Option<DateTime<Utc>>Last modification time, if available.
content_type: Option<String>MIME content type, if available.
checksum: Option<String>Checksum (e.g. ETag, MD5), if available.
Trait Implementations§
Source§impl Clone for StorageMetadata
impl Clone for StorageMetadata
Auto Trait Implementations§
impl Forget for StorageMetadata
impl Freeze for StorageMetadata
impl Move for StorageMetadata
impl RefUnwindSafe for StorageMetadata
impl Send for StorageMetadata
impl Sync for StorageMetadata
impl Unpin for StorageMetadata
impl UnsafeUnpin for StorageMetadata
impl UnwindSafe for StorageMetadata
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