Struct metrics_sqlite::MetricKey
source · [−]pub struct MetricKey<'a> {
pub id: i64,
pub key: Cow<'a, str>,
pub unit: Cow<'a, str>,
pub description: Cow<'a, str>,
}
Expand description
Metric key
Fields
id: i64
primary key of metric key
key: Cow<'a, str>
Actual key
unit: Cow<'a, str>
Unit if any
description: Cow<'a, str>
Description of metric key if any
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MetricKey<'a>
impl<'a> UnwindSafe for MetricKey<'a>
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