Enum lrwn::RelayModeActivation
source · pub enum RelayModeActivation {
DisableRelayMode,
EnableRelayMode,
Dynamic,
EndDeviceControlled,
}
Variants§
Implementations§
Trait Implementations§
source§impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr RelayModeActivation
impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr RelayModeActivation
§type Expression = Bound<Nullable<SmallInt>, &'expr RelayModeActivation>
type Expression = Bound<Nullable<SmallInt>, &'expr RelayModeActivation>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<SmallInt>> for RelayModeActivation
impl AsExpression<Nullable<SmallInt>> for RelayModeActivation
§type Expression = Bound<Nullable<SmallInt>, RelayModeActivation>
type Expression = Bound<Nullable<SmallInt>, RelayModeActivation>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr> AsExpression<SmallInt> for &'expr RelayModeActivation
impl<'expr> AsExpression<SmallInt> for &'expr RelayModeActivation
§type Expression = Bound<SmallInt, &'expr RelayModeActivation>
type Expression = Bound<SmallInt, &'expr RelayModeActivation>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<SmallInt> for RelayModeActivation
impl AsExpression<SmallInt> for RelayModeActivation
§type Expression = Bound<SmallInt, RelayModeActivation>
type Expression = Bound<SmallInt, RelayModeActivation>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl Clone for RelayModeActivation
impl Clone for RelayModeActivation
source§fn clone(&self) -> RelayModeActivation
fn clone(&self) -> RelayModeActivation
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 RelayModeActivation
impl Debug for RelayModeActivation
source§impl<DB> FromSql<SmallInt, DB> for RelayModeActivation
impl<DB> FromSql<SmallInt, DB> for RelayModeActivation
source§impl PartialEq for RelayModeActivation
impl PartialEq for RelayModeActivation
source§fn eq(&self, other: &RelayModeActivation) -> bool
fn eq(&self, other: &RelayModeActivation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<__ST, __DB> Queryable<__ST, __DB> for RelayModeActivation
impl<__ST, __DB> Queryable<__ST, __DB> for RelayModeActivation
source§impl Serialize for RelayModeActivation
impl Serialize for RelayModeActivation
impl Copy for RelayModeActivation
impl Eq for RelayModeActivation
impl StructuralPartialEq for RelayModeActivation
Auto Trait Implementations§
impl Freeze for RelayModeActivation
impl RefUnwindSafe for RelayModeActivation
impl Send for RelayModeActivation
impl Sync for RelayModeActivation
impl Unpin for RelayModeActivation
impl UnwindSafe for RelayModeActivation
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, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
source§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, 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.