Struct StoredRow
pub struct StoredRow {
pub name: String,
pub quality: i64,
pub bool_val: Option<bool>,
pub i32_val: Option<i64>,
pub i64_val: Option<i64>,
pub u32_val: Option<i64>,
pub u64_val: Option<i64>,
pub f32_val: Option<f64>,
pub f64_val: Option<f64>,
pub ts_val: Option<i64>,
pub ts: i64,
}Fields§
§name: String§quality: i64§bool_val: Option<bool>§i32_val: Option<i64>§i64_val: Option<i64>§u32_val: Option<i64>§u64_val: Option<i64>§f32_val: Option<f64>§f64_val: Option<f64>§ts_val: Option<i64>§ts: i64Implementations§
§impl StoredRow
impl StoredRow
pub fn into_rest_datapoint( &self, ) -> Result<ResponseDatapointValueWithoutID, GCRestServerError>
Trait Implementations§
§impl<'a, R: Row> FromRow<'a, R> for StoredRowwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for StoredRowwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<bool>: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
Option<f64>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for StoredRow
impl RefUnwindSafe for StoredRow
impl Send for StoredRow
impl Sync for StoredRow
impl Unpin for StoredRow
impl UnsafeUnpin for StoredRow
impl UnwindSafe for StoredRow
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more