Struct rust_embed_for_web_utils::ReadMetadata
source · [−]pub struct ReadMetadata {
pub hash: String,
pub etag: String,
pub last_modified: Option<String>,
pub last_modified_timestamp: Option<i64>,
pub mime_type: Option<String>,
}
Expand description
Metadata about a file read from the filesystem
Fields
hash: String
etag: String
last_modified: Option<String>
last_modified_timestamp: Option<i64>
mime_type: Option<String>
Auto Trait Implementations
impl RefUnwindSafe for ReadMetadata
impl Send for ReadMetadata
impl Sync for ReadMetadata
impl Unpin for ReadMetadata
impl UnwindSafe for ReadMetadata
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