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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.