pub struct is_admin;
Trait Implementations§
source§impl<DB> QueryFragment<DB, NotSpecialized> for is_adminwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
impl<DB> QueryFragment<DB, NotSpecialized> for is_adminwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
source§impl QueryId for is_admin
impl QueryId for is_admin
source§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_admin
impl ValidGrouping<()> for is_admin
§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
source§impl<__GB> ValidGrouping<__GB> for is_adminwhere
__GB: IsContainedInGroupBy<is_admin, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for is_adminwhere
__GB: IsContainedInGroupBy<is_admin, Output = Yes>,
§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for is_adminwhere
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for is_admin
impl SelectableExpression<table> for is_admin
Auto Trait Implementations§
impl RefUnwindSafe for is_admin
impl Send for is_admin
impl Sync for is_admin
impl Unpin for is_admin
impl UnwindSafe for is_admin
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