Struct metrics_sqlite::Session
source · [−]Expand description
Describes a session, which is a sub-set of metrics data based on time gaps
Fields
start_time: f64
Timestamp session starts at
end_time: f64
Timestamp session ends at
duration: Duration
Duration of session
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Session
impl UnwindSafe for Session
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more