Enum valid_toml::FormatDesc [] [src]

pub enum FormatDesc {
    Duration,
    Custom(String),
}

Provides a description of how an element should be formatted.

Variants

The element needs to be a duration format i.e. ##d ##h ##m ##s ##ms.

There is a custom formatter for the element.

Trait Implementations

impl Debug for FormatDesc
[src]

Formats the value using the given formatter.

impl Display for FormatDesc
[src]

Display a nice message.