pub struct FileMetadata {
pub size: u64,
pub last_modified: DateTime<Utc>,
pub content_type: String,
pub etag: Option<String>,
pub storage_class: Option<String>,
pub custom_metadata: HashMap<String, String>,
}Expand description
File metadata
Fields§
§size: u64File size in bytes
last_modified: DateTime<Utc>Last modification timestamp
content_type: StringContent type
etag: Option<String>ETag
storage_class: Option<String>Storage class
custom_metadata: HashMap<String, String>Additional metadata
Trait Implementations§
Source§impl Clone for FileMetadata
impl Clone for FileMetadata
Source§impl Debug for FileMetadata
impl Debug for FileMetadata
Source§impl<'de> Deserialize<'de> for FileMetadata
impl<'de> Deserialize<'de> for FileMetadata
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 FileMetadata
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnsafeUnpin for FileMetadata
impl UnwindSafe for FileMetadata
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