pub enum Responsible {
Teacher,
}
Variants§
Teacher
Trait Implementations§
Source§impl<'expr> AsExpression<Nullable<Text>> for &'expr Responsible
impl<'expr> AsExpression<Nullable<Text>> for &'expr Responsible
Source§type Expression = Bound<Nullable<Text>, &'expr Responsible>
type Expression = Bound<Nullable<Text>, &'expr Responsible>
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 Responsible
impl AsExpression<Nullable<Text>> for Responsible
Source§type Expression = Bound<Nullable<Text>, Responsible>
type Expression = Bound<Nullable<Text>, Responsible>
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 Responsible
impl<'expr> AsExpression<Text> for &'expr Responsible
Source§type Expression = Bound<Text, &'expr Responsible>
type Expression = Bound<Text, &'expr Responsible>
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 Responsible
impl AsExpression<Text> for Responsible
Source§type Expression = Bound<Text, Responsible>
type Expression = Bound<Text, Responsible>
The expression being returned
Source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Source§impl Clone for Responsible
impl Clone for Responsible
Source§fn clone(&self) -> Responsible
fn clone(&self) -> Responsible
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 Responsible
impl Debug for Responsible
Source§impl Default for Responsible
impl Default for Responsible
Source§impl<'de> Deserialize<'de> for Responsible
impl<'de> Deserialize<'de> for Responsible
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 Responsible
impl Display for Responsible
Source§impl<__ST, __DB> FromSqlRow<__ST, __DB> for Responsible
impl<__ST, __DB> FromSqlRow<__ST, __DB> for Responsible
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 Responsible
impl PartialEq for Responsible
Source§impl<__ST, __DB> Queryable<__ST, __DB> for Responsible
impl<__ST, __DB> Queryable<__ST, __DB> for Responsible
Source§impl Serialize for Responsible
impl Serialize for Responsible
impl StructuralPartialEq for Responsible
Auto Trait Implementations§
impl Freeze for Responsible
impl RefUnwindSafe for Responsible
impl Send for Responsible
impl Sync for Responsible
impl Unpin for Responsible
impl UnwindSafe for Responsible
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> 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