Struct metrics_sqlite::Metric [−][src]
Metric model for existing entries in sqlite database
Fields
id: i64
Unique ID of sample
timestamp: f64
Timestamp of sample
key: String
Key/name of sample
value: f64
Value of sample
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metric
impl RefUnwindSafe for Metric
impl UnwindSafe for Metric
impl UnwindSafe for Metric
Blanket Implementations
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
[src]pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,