pub struct Metadata {
pub content_type: ContentType,
pub etag: Option<ETag>,
pub last_modified: Option<LastModified>,
}Expand description
Metadata associated with an embedded asset.
Fields§
§content_type: ContentTypeMIME type of the resource.
etag: Option<ETag>File unique identifier, to be used to match with If-None-Match header.
last_modified: Option<LastModified>The date and time when the resource was modified.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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