Enum rs_es::units::DurationUnit [] [src]

pub enum DurationUnit {
    Month,
    Week,
    Day,
    Hour,
    Minute,
    Second,
    Millisecond,
}

The units by which duration is measured.

TODO - this list is incomplete, see: https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units TODO - ensure deserialization works correctly

Variants

Trait Implementations

impl Debug for DurationUnit
[src]

Formats the value using the given formatter.

impl ToString for DurationUnit
[src]

Converts the given value to a String. Read more