Struct metrics_sqlite::NewMetric [−][src]
A new metric measurement for storing into sqlite database
Fields
timestamp: f64
Timestamp of sample
key: String
Key/name of sample
value: f64
Value of sample
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NewMetric
impl RefUnwindSafe for NewMetric
impl UnwindSafe for NewMetric
impl UnwindSafe for NewMetric
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>,