pub struct DBReadoutBoard {
pub rb_id: i16,
pub dsi: i16,
pub j: i16,
pub mtb_link_id: i16,
pub paddle12_chA: Option<i16>,
pub paddle34_chA: Option<i16>,
pub paddle56_chA: Option<i16>,
pub paddle78_chA: Option<i16>,
pub paddle12_id: Option<i16>,
pub paddle34_id: Option<i16>,
pub paddle56_id: Option<i16>,
pub paddle78_id: Option<i16>,
}
Expand description
A Readoutboard with paddles connected
Fields§
§rb_id: i16
§dsi: i16
§j: i16
§mtb_link_id: i16
§paddle12_chA: Option<i16>
§paddle34_chA: Option<i16>
§paddle56_chA: Option<i16>
§paddle78_chA: Option<i16>
§paddle12_id: Option<i16>
§paddle34_id: Option<i16>
§paddle56_id: Option<i16>
§paddle78_id: Option<i16>
Implementations§
Source§impl DBReadoutBoard
impl DBReadoutBoard
pub fn all(conn: &mut SqliteConnection) -> Option<Vec<DBReadoutBoard>>
Trait Implementations§
Source§impl Clone for DBReadoutBoard
impl Clone for DBReadoutBoard
Source§fn clone(&self) -> DBReadoutBoard
fn clone(&self) -> DBReadoutBoard
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DBReadoutBoard
impl Debug for DBReadoutBoard
Source§impl<'de> Deserialize<'de> for DBReadoutBoard
impl<'de> Deserialize<'de> for DBReadoutBoard
Source§fn 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
Source§impl Display for DBReadoutBoard
impl Display for DBReadoutBoard
Source§impl PartialEq for DBReadoutBoard
impl PartialEq for DBReadoutBoard
Source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11), __DB> for DBReadoutBoard
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11), __DB> for DBReadoutBoard
Source§impl<__DB: Backend> Selectable<__DB> for DBReadoutBoard
impl<__DB: Backend> Selectable<__DB> for DBReadoutBoard
Source§type SelectExpression = (rb_id, dsi, j, mtb_link_id, paddle12_chA, paddle34_chA, paddle56_chA, paddle78_chA, paddle12_id, paddle34_id, paddle56_id, paddle78_id)
type SelectExpression = (rb_id, dsi, j, mtb_link_id, paddle12_chA, paddle34_chA, paddle56_chA, paddle78_chA, paddle12_id, paddle34_id, paddle56_id, paddle78_id)
The expression you’d like to select. Read more
Source§fn construct_selection() -> Self::SelectExpression
fn construct_selection() -> Self::SelectExpression
Construct an instance of the expression
Source§impl Serialize for DBReadoutBoard
impl Serialize for DBReadoutBoard
impl StructuralPartialEq for DBReadoutBoard
Auto Trait Implementations§
impl Freeze for DBReadoutBoard
impl RefUnwindSafe for DBReadoutBoard
impl Send for DBReadoutBoard
impl Sync for DBReadoutBoard
impl Unpin for DBReadoutBoard
impl UnwindSafe for DBReadoutBoard
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, DB> SelectableHelper<DB> for Twhere
T: Selectable<DB>,
DB: Backend,
impl<T, DB> SelectableHelper<DB> for Twhere
T: Selectable<DB>,
DB: Backend,
Source§fn as_select() -> SelectBy<T, DB>
fn as_select() -> SelectBy<T, DB>
Construct a select clause based on a
Selectable
implementation. Read moreSource§fn as_returning() -> SelectBy<Self, DB>
fn as_returning() -> SelectBy<Self, DB>
An alias for
as_select
that can be used with returning clausesSource§impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
impl<T, ST, DB> StaticallySizedRow<ST, DB> for T
Source§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.