pub struct Metadata { /* private fields */ }
Expand description

Metadata about an embedded file

Implementations

The SHA256 hash of the file contents, base64 encoded.

The sha256_hash, surrounded by quotes. This is the format required in ETag headers.

The last modified date in the rfc2822 format. This is the format required in Last-Modified headers.

This may be None on some platforms that don’t support last modified timestamps.

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.