Enum propertylib::enums::room_type::RoomType
source · pub enum RoomType {
Educational,
Medical,
Stuff,
Admenistrative,
Technical,
Comman,
Undefined,
}
Variants§
Trait Implementations§
source§impl<'expr> AsExpression<Nullable<Text>> for &'expr RoomType
impl<'expr> AsExpression<Nullable<Text>> for &'expr RoomType
§type Expression = Bound<Nullable<Text>, &'expr RoomType>
type Expression = Bound<Nullable<Text>, &'expr RoomType>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<Text>> for RoomType
impl AsExpression<Nullable<Text>> for RoomType
§type Expression = Bound<Nullable<Text>, RoomType>
type Expression = Bound<Nullable<Text>, RoomType>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'expr> AsExpression<Text> for &'expr RoomType
impl<'expr> AsExpression<Text> for &'expr RoomType
§type Expression = Bound<Text, &'expr RoomType>
type Expression = Bound<Text, &'expr RoomType>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Text> for RoomType
impl AsExpression<Text> for RoomType
§type Expression = Bound<Text, RoomType>
type Expression = Bound<Text, RoomType>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'de> Deserialize<'de> for RoomType
impl<'de> Deserialize<'de> for RoomType
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<__ST, __DB> FromSqlRow<__ST, __DB> for RoomType
impl<__ST, __DB> FromSqlRow<__ST, __DB> for RoomType
source§const FIELDS_NEEDED: usize = 1usize
const FIELDS_NEEDED: usize = 1usize
The number of fields that this type will consume. Must be equal to
the number of times you would call
row.take()
in build_from_row
source§impl PartialEq for RoomType
impl PartialEq for RoomType
impl StructuralPartialEq for RoomType
Auto Trait Implementations§
impl Freeze for RoomType
impl RefUnwindSafe for RoomType
impl Send for RoomType
impl Sync for RoomType
impl Unpin for RoomType
impl UnwindSafe for RoomType
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more