pub struct DBPanel {Show 19 fields
pub panel_id: i16,
pub description: String,
pub normal_x: i16,
pub normal_y: i16,
pub normal_z: i16,
pub dw_paddle: Option<i16>,
pub dh_paddle: Option<i16>,
pub paddle0_id: Option<i16>,
pub paddle1_id: Option<i16>,
pub paddle10_id: Option<i16>,
pub paddle11_id: Option<i16>,
pub paddle2_id: Option<i16>,
pub paddle3_id: Option<i16>,
pub paddle4_id: Option<i16>,
pub paddle5_id: Option<i16>,
pub paddle6_id: Option<i16>,
pub paddle7_id: Option<i16>,
pub paddle8_id: Option<i16>,
pub paddle9_id: Option<i16>,
}
Expand description
A TOF Panel is a larger unit of paddles next to each other
TOF faces (e.g. Umbrella) can have multiple Panels
Fields§
§panel_id: i16
§description: String
§normal_x: i16
§normal_y: i16
§normal_z: i16
§dw_paddle: Option<i16>
§dh_paddle: Option<i16>
§paddle0_id: Option<i16>
§paddle1_id: Option<i16>
§paddle10_id: Option<i16>
§paddle11_id: Option<i16>
§paddle2_id: Option<i16>
§paddle3_id: Option<i16>
§paddle4_id: Option<i16>
§paddle5_id: Option<i16>
§paddle6_id: Option<i16>
§paddle7_id: Option<i16>
§paddle8_id: Option<i16>
§paddle9_id: Option<i16>
Implementations§
Trait Implementations§
Source§impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18), __DB> for DBPanelwhere
(i16, String, i16, i16, i16, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18), __DB>,
impl<__DB: Backend, __ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18> Queryable<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18), __DB> for DBPanelwhere
(i16, String, i16, i16, i16, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>, Option<i16>): FromStaticSqlRow<(__ST0, __ST1, __ST2, __ST3, __ST4, __ST5, __ST6, __ST7, __ST8, __ST9, __ST10, __ST11, __ST12, __ST13, __ST14, __ST15, __ST16, __ST17, __ST18), __DB>,
Source§impl<__DB: Backend> Selectable<__DB> for DBPanel
impl<__DB: Backend> Selectable<__DB> for DBPanel
Source§type SelectExpression = (panel_id, description, normal_x, normal_y, normal_z, dw_paddle, dh_paddle, paddle0_id, paddle1_id, paddle10_id, paddle11_id, paddle2_id, paddle3_id, paddle4_id, paddle5_id, paddle6_id, paddle7_id, paddle8_id, paddle9_id)
type SelectExpression = (panel_id, description, normal_x, normal_y, normal_z, dw_paddle, dh_paddle, paddle0_id, paddle1_id, paddle10_id, paddle11_id, paddle2_id, paddle3_id, paddle4_id, paddle5_id, paddle6_id, paddle7_id, paddle8_id, paddle9_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
Auto Trait Implementations§
impl Freeze for DBPanel
impl RefUnwindSafe for DBPanel
impl Send for DBPanel
impl Sync for DBPanel
impl Unpin for DBPanel
impl UnwindSafe for DBPanel
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.