Enum rustless::framework::media::Format [] [src]

pub enum Format {
    JsonFormat,
    PlainTextFormat,
    OtherFormat(Mime),
}

Variants

JsonFormatPlainTextFormatOtherFormat(Mime)

Methods

impl Format
[src]

fn from_mime(mime: &Mime) -> Format

Trait Implementations

impl Debug for Format
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.