Struct kubos_telemetry_db::models::Entry
source · [−]pub struct Entry {
pub timestamp: f64,
pub subsystem: String,
pub parameter: String,
pub value: String,
}
Fields
timestamp: f64
subsystem: String
parameter: String
value: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'insert> Insertable<table> for &'insert Entry
impl<'insert> Insertable<table> for &'insert Entry
type Values = <(Option<Eq<timestamp, <&'insert f64 as AsExpression<<timestamp as Expression>::SqlType>>::Expression>>, Option<Eq<subsystem, <&'insert String as AsExpression<<subsystem as Expression>::SqlType>>::Expression>>, Option<Eq<parameter, <&'insert String as AsExpression<<parameter as Expression>::SqlType>>::Expression>>, Option<Eq<value, <&'insert String as AsExpression<<value as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<timestamp, <&'insert f64 as AsExpression<<timestamp as Expression>::SqlType>>::Expression>>, Option<Eq<subsystem, <&'insert String as AsExpression<<subsystem as Expression>::SqlType>>::Expression>>, Option<Eq<parameter, <&'insert String as AsExpression<<parameter as Expression>::SqlType>>::Expression>>, Option<Eq<value, <&'insert String as AsExpression<<value as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
Insert self
into a given table. Read more
sourceimpl<'insert> Insertable<table> for Entry
impl<'insert> Insertable<table> for Entry
type Values = <(Option<Eq<timestamp, <f64 as AsExpression<<timestamp as Expression>::SqlType>>::Expression>>, Option<Eq<subsystem, <String as AsExpression<<subsystem as Expression>::SqlType>>::Expression>>, Option<Eq<parameter, <String as AsExpression<<parameter as Expression>::SqlType>>::Expression>>, Option<Eq<value, <String as AsExpression<<value as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<timestamp, <f64 as AsExpression<<timestamp as Expression>::SqlType>>::Expression>>, Option<Eq<subsystem, <String as AsExpression<<subsystem as Expression>::SqlType>>::Expression>>, Option<Eq<parameter, <String as AsExpression<<parameter as Expression>::SqlType>>::Expression>>, Option<Eq<value, <String as AsExpression<<value as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
Insert self
into a given table. Read more
sourceimpl<__DB: Backend, __ST> Queryable<__ST, __DB> for Entry where
(f64, String, String, String): Queryable<__ST, __DB>,
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Entry where
(f64, String, String, String): Queryable<__ST, __DB>,
impl<'insert> UndecoratedInsertRecord<table> for Entry
Auto Trait Implementations
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more