Enum keen::TimeFrame [] [src]

pub enum TimeFrame {
    Relative(String),
    Absolute(DateTime<UTC>, DateTime<UTC>),
}

Type to define a timeframe. There are two variants:

Variants

  1. relative time from now.
  1. absolute timeframe with which you should specify a start time and a end time.

Trait Implementations

impl Debug for TimeFrame
[src]

Formats the value using the given formatter.

impl Clone for TimeFrame
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for TimeFrame
[src]

Formats the value using the given formatter.