pub trait StoreMetadata {
// Required methods
fn size(&self) -> u64;
fn created(&self) -> u64;
fn modified(&self) -> u64;
// Provided method
fn content_type(&self) -> Option<&str> { ... }
}
Expand description
Trait representing the metadata of a file.
Required Methods§
Provided Methods§
Sourcefn content_type(&self) -> Option<&str>
fn content_type(&self) -> Option<&str>
Returns the content type of the file