Struct database::repository::schema::users::columns::is_teacher
source · pub struct is_teacher;
Trait Implementations§
source§impl Clone for is_teacher
impl Clone for is_teacher
source§fn clone(&self) -> is_teacher
fn clone(&self) -> is_teacher
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 Column for is_teacher
impl Column for is_teacher
source§impl Debug for is_teacher
impl Debug for is_teacher
source§impl Default for is_teacher
impl Default for is_teacher
source§fn default() -> is_teacher
fn default() -> is_teacher
Returns the “default value” for a type. Read more
source§impl Expression for is_teacher
impl Expression for is_teacher
source§impl<DB> QueryFragment<DB, NotSpecialized> for is_teacherwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
impl<DB> QueryFragment<DB, NotSpecialized> for is_teacherwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
source§impl QueryId for is_teacher
impl QueryId for is_teacher
§type QueryId = is_teacher
type QueryId = is_teacher
A type which uniquely represents
Self
in a SQL query. Read moresource§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by
Self
be uniquely identified by its type? Read moresource§impl ValidGrouping<()> for is_teacher
impl ValidGrouping<()> for is_teacher
§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
source§impl<__GB> ValidGrouping<__GB> for is_teacherwhere
__GB: IsContainedInGroupBy<is_teacher, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for is_teacherwhere
__GB: IsContainedInGroupBy<is_teacher, Output = Yes>,
§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for is_teacherwhere
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for is_teacher
impl SelectableExpression<table> for is_teacher
Auto Trait Implementations§
impl RefUnwindSafe for is_teacher
impl Send for is_teacher
impl Sync for is_teacher
impl Unpin for is_teacher
impl UnwindSafe for is_teacher
Blanket Implementations§
§impl<T, ST> AsExpression<ST> for Twhere
T: Expression<SqlType = ST>,
ST: SqlType + TypedExpressionType,
impl<T, ST> AsExpression<ST> for Twhere
T: Expression<SqlType = ST>,
ST: SqlType + TypedExpressionType,
§type Expression = T
type Expression = T
The expression being returned
§fn as_expression(self) -> T
fn as_expression(self) -> T
Perform the conversion
§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB, NotSpecialized> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB, NotSpecialized> + QueryId,
§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T> NullableExpressionMethods for Twhere
T: Expression,
impl<T> NullableExpressionMethods for Twhere
T: Expression,
§fn nullable(self) -> Nullable<Self>
fn nullable(self) -> Nullable<Self>
Converts this potentially non-null expression into one which is treated
as nullable. This method has no impact on the generated SQL, and is only
used to allow certain comparisons that would otherwise fail to compile. Read more
§fn assume_not_null(self) -> AssumeNotNull<Self>
fn assume_not_null(self) -> AssumeNotNull<Self>
Converts this potentially nullable expression into one which will be assumed
to be not-null. This method has no impact on the generated SQL, however it will
enable you to attempt deserialization of the returned value in a non-
Option
. Read more