pub struct body;
Trait Implementations§
source§impl Expression for body
impl Expression for body
source§impl<DB> QueryFragment<DB> for body
impl<DB> QueryFragment<DB> for body
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 body
impl QueryId for body
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 body
impl Copy for body
impl NonAggregate for body
impl SelectableExpression<table> for body
Auto Trait Implementations§
impl Freeze for body
impl RefUnwindSafe for body
impl Send for body
impl Sync for body
impl Unpin for body
impl UnwindSafe for body
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,
source§type Expression = T
type Expression = T
The expression being returned
source§fn as_expression(self) -> T
fn as_expression(self) -> T
Perform the conversion
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T
source§impl<T> ExpressionMethods for T
impl<T> ExpressionMethods for T
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>>
fn between<T, U>( self, lower: T, upper: U, ) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>
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>>
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>>
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: 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