Struct rust_embed_for_web_utils::Metadata
source · [−]pub struct Metadata {
pub hash: &'static str,
pub etag: &'static str,
pub last_modified: Option<&'static str>,
pub last_modified_timestamp: Option<i64>,
pub mime_type: Option<&'static str>,
}Expand description
Metadata about an embedded file
Fields
hash: &'static stretag: &'static strlast_modified: Option<&'static str>last_modified_timestamp: Option<i64>mime_type: Option<&'static str>Auto Trait Implementations
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more