pub struct valid;
Trait Implementations§
source§impl Expression for valid
impl Expression for valid
source§impl<DB> QueryFragment<DB> for validwhere
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for validwhere DB: Backend, <table as QuerySource>::FromClause: QueryFragment<DB>,
source§fn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
fn walk_ast(&self, out: AstPass<'_, DB>) -> QueryResult<()>
Walk over this
QueryFragment
for all passes. Read moresource§fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
Converts this
QueryFragment
to its SQL representation. Read moresource§fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
fn collect_binds( &self, out: &mut <DB as Backend>::BindCollector, metadata_lookup: &<DB as TypeMetadata>::MetadataLookup ) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
source§impl QueryId for valid
impl QueryId for valid
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 moreimpl<QS> AppearsOnTable<QS> for validwhere QS: AppearsInFromClause<table, Count = Once>,
impl Copy for valid
impl NonAggregate for valid
impl SelectableExpression<table> for valid
Auto Trait Implementations§
impl RefUnwindSafe for valid
impl Send for valid
impl Sync for valid
impl Unpin for valid
impl UnwindSafe for valid
Blanket Implementations§
source§impl<T> AsExpression<<T as Expression>::SqlType> for Twhere
T: Expression,
impl<T> AsExpression<<T as Expression>::SqlType> for Twhere T: Expression,
§type Expression = T
type Expression = T
The expression being returned
source§fn as_expression(self) -> T
fn as_expression(self) -> T
Perform the conversion
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere Conn: Connection<Backend = DB>, DB: Backend, T: QueryFragment<DB> + QueryId,
source§impl<T> ExpressionMethods for Twhere
T: Expression,
<T as Expression>::SqlType: SingleValue,
impl<T> ExpressionMethods for Twhere T: Expression, <T as Expression>::SqlType: SingleValue,
source§fn eq<T>(
self,
other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn eq<T>( self, other: T ) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
=
expression. Read moresource§fn ne<T>(
self,
other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn ne<T>( self, other: T ) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
!=
expression. Read moresource§fn eq_any<T>(
self,
values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where
T: AsInExpression<Self::SqlType>,
fn eq_any<T>( self, values: T ) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where T: AsInExpression<Self::SqlType>,
Creates a SQL
IN
statement. Read moresource§fn ne_any<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where
T: AsInExpression<Self::SqlType>,
fn ne_any<T>( self, values: T ) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where T: AsInExpression<Self::SqlType>,
👎Deprecated since 1.2.0: use
ne_all
insteadDeprecated alias for
ne_all
Read moresource§fn ne_all<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where
T: AsInExpression<Self::SqlType>,
fn ne_all<T>( self, values: T ) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>where T: AsInExpression<Self::SqlType>,
Creates a SQL
NOT IN
statement. Read moresource§fn is_not_null(self) -> IsNotNull<Self>
fn is_not_null(self) -> IsNotNull<Self>
Creates a SQL
IS NOT NULL
expression. Read moresource§fn gt<T>(
self,
other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn gt<T>( self, other: T ) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
>
expression. Read moresource§fn ge<T>(
self,
other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn ge<T>( self, other: T ) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
>=
expression. Read moresource§fn lt<T>(
self,
other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn lt<T>( self, other: T ) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
<
expression. Read moresource§fn le<T>(
self,
other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where
T: AsExpression<Self::SqlType>,
fn le<T>( self, other: T ) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>where T: AsExpression<Self::SqlType>,
Creates a SQL
<=
expression. Read moresource§fn between<T, U>(
self,
lower: T,
upper: U
) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
fn between<T, U>( self, lower: T, upper: U ) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>where T: AsExpression<Self::SqlType>, U: AsExpression<Self::SqlType>,
Creates a SQL
BETWEEN
expression using the given lower and upper
bounds. Read moresource§fn not_between<T, U>(
self,
lower: T,
upper: U
) -> NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
fn not_between<T, U>( self, lower: T, upper: U ) -> NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>where T: AsExpression<Self::SqlType>, U: AsExpression<Self::SqlType>,
Creates a SQL
NOT BETWEEN
expression using the given lower and upper
bounds. Read moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized,
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