Enum keen::TimeFrame
[−]
[src]
pub enum TimeFrame {
Relative(String),
Absolute(DateTime<UTC>, DateTime<UTC>),
}Type to define a timeframe. There are two variants:
Variants
Relative(String)- relative time from now.
Absolute(DateTime<UTC>, DateTime<UTC>)- absolute timeframe with which you should specify a start time and a end time.
Trait Implementations
impl Debug for TimeFrame[src]
impl Clone for TimeFrame[src]
fn clone(&self) -> TimeFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more