Trait Blob

Source
pub trait Blob {
    // Required methods
    fn key(&self) -> &str;
    fn size(&self) -> usize;
    fn created(&self) -> DateTime<Utc>;
    fn accessed(&self) -> Option<DateTime<Utc>>;
}
Expand description

A blob contains general information about the blob.

Required Methods§

Source

fn key(&self) -> &str

The key (e.g. name) of the blob.

Source

fn size(&self) -> usize

The number of bytes in the blob.

Source

fn created(&self) -> DateTime<Utc>

When the blob was originally created.

Source

fn accessed(&self) -> Option<DateTime<Utc>>

When the blob was last accessed.

Implementors§