pub struct MTBChannel {
pub mtb_ch: i64,
pub dsi: Option<i16>,
pub j: Option<i16>,
pub ltb_id: Option<i16>,
pub ltb_ch: Option<i16>,
pub rb_id: Option<i16>,
pub rb_ch: Option<i16>,
pub mtb_link_id: Option<i16>,
pub paddle_id: Option<i16>,
pub paddle_isA: Option<bool>,
pub hg_ch: Option<i16>,
pub lg_ch: Option<i16>,
}
Fields§
§mtb_ch: i64
§dsi: Option<i16>
§j: Option<i16>
§ltb_id: Option<i16>
§ltb_ch: Option<i16>
§rb_id: Option<i16>
§rb_ch: Option<i16>
§mtb_link_id: Option<i16>
§paddle_id: Option<i16>
§paddle_isA: Option<bool>
§hg_ch: Option<i16>
§lg_ch: Option<i16>
Implementations§
Source§impl MTBChannel
impl MTBChannel
pub fn new() -> Self
pub fn all(conn: &mut SqliteConnection) -> Option<Vec<MTBChannel>>
Trait Implementations§
Source§impl Debug for MTBChannel
impl Debug for MTBChannel
Source§impl Display for MTBChannel
impl Display for MTBChannel
Source§impl PartialEq for MTBChannel
impl PartialEq for MTBChannel
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 MTBChannel
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 MTBChannel
Source§impl<__DB: Backend> Selectable<__DB> for MTBChannel
impl<__DB: Backend> Selectable<__DB> for MTBChannel
Source§type SelectExpression = (mtb_ch, dsi, j, ltb_id, ltb_ch, rb_id, rb_ch, mtb_link_id, paddle_id, paddle_isA, hg_ch, lg_ch)
type SelectExpression = (mtb_ch, dsi, j, ltb_id, ltb_ch, rb_id, rb_ch, mtb_link_id, paddle_id, paddle_isA, hg_ch, lg_ch)
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
impl StructuralPartialEq for MTBChannel
Auto Trait Implementations§
impl Freeze for MTBChannel
impl RefUnwindSafe for MTBChannel
impl Send for MTBChannel
impl Sync for MTBChannel
impl Unpin for MTBChannel
impl UnwindSafe for MTBChannel
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> 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.