pub struct fixed_date;
Trait Implementations§
Source§impl Clone for fixed_date
impl Clone for fixed_date
Source§fn clone(&self) -> fixed_date
fn clone(&self) -> fixed_date
Returns a duplicate 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 fixed_date
impl Column for fixed_date
Source§impl Debug for fixed_date
impl Debug for fixed_date
Source§impl Default for fixed_date
impl Default for fixed_date
Source§fn default() -> fixed_date
fn default() -> fixed_date
Returns the “default value” for a type. Read more
Source§impl Expression for fixed_date
impl Expression for fixed_date
Source§impl<DB> QueryFragment<DB> for fixed_date
impl<DB> QueryFragment<DB> for fixed_date
Source§impl QueryId for fixed_date
impl QueryId for fixed_date
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§type QueryId = fixed_date
type QueryId = fixed_date
A type which uniquely represents
Self
in a SQL query. Read moreSource§impl ValidGrouping<()> for fixed_date
impl ValidGrouping<()> for fixed_date
Source§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
Source§impl<__GB> ValidGrouping<__GB> for fixed_datewhere
__GB: IsContainedInGroupBy<fixed_date, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for fixed_datewhere
__GB: IsContainedInGroupBy<fixed_date, Output = Yes>,
Source§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for fixed_date
impl Copy for fixed_date
impl SelectableExpression<table> for fixed_date
Auto Trait Implementations§
impl Freeze for fixed_date
impl RefUnwindSafe for fixed_date
impl Send for fixed_date
impl Sync for fixed_date
impl Unpin for fixed_date
impl UnwindSafe for fixed_date
Blanket Implementations§
Source§impl<T, ST> AsExpression<ST> for T
impl<T, ST> AsExpression<ST> for T
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<T> BoolExpressionMethods for T
impl<T> BoolExpressionMethods for T
Source§fn and<T, ST>(
self,
other: T,
) -> Grouped<And<Self, <T as AsExpression<ST>>::Expression>>where
Self::SqlType: SqlType,
ST: SqlType + TypedExpressionType + BoolOrNullableBool,
T: AsExpression<ST>,
And<Self, <T as AsExpression<ST>>::Expression>: Expression,
fn and<T, ST>(
self,
other: T,
) -> Grouped<And<Self, <T as AsExpression<ST>>::Expression>>where
Self::SqlType: SqlType,
ST: SqlType + TypedExpressionType + BoolOrNullableBool,
T: AsExpression<ST>,
And<Self, <T as AsExpression<ST>>::Expression>: Expression,
Creates a SQL
AND
expression Read moreSource§fn or<T, ST>(
self,
other: T,
) -> Grouped<Or<Self, <T as AsExpression<ST>>::Expression>>where
Self::SqlType: SqlType,
ST: SqlType + TypedExpressionType + BoolOrNullableBool,
T: AsExpression<ST>,
Or<Self, <T as AsExpression<ST>>::Expression>: Expression,
fn or<T, ST>(
self,
other: T,
) -> Grouped<Or<Self, <T as AsExpression<ST>>::Expression>>where
Self::SqlType: SqlType,
ST: SqlType + TypedExpressionType + BoolOrNullableBool,
T: AsExpression<ST>,
Or<Self, <T as AsExpression<ST>>::Expression>: Expression,
Creates a SQL
OR
expression Read moreSource§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<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,
) -> Grouped<Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn eq<T>( self, other: T, ) -> Grouped<Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
=
expression. Read moreSource§fn ne<T>(
self,
other: T,
) -> Grouped<NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn ne<T>( self, other: T, ) -> Grouped<NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
!=
expression. Read moreSource§fn eq_any<T>(
self,
values: T,
) -> Grouped<In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>
fn eq_any<T>( self, values: T, ) -> Grouped<In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>
Creates a SQL
IN
statement. Read moreSource§fn ne_all<T>(
self,
values: T,
) -> Grouped<NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>
fn ne_all<T>( self, values: T, ) -> Grouped<NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>
Creates a SQL
NOT IN
statement. Read moreSource§fn is_not_null(self) -> Grouped<IsNotNull<Self>>
fn is_not_null(self) -> Grouped<IsNotNull<Self>>
Creates a SQL
IS NOT NULL
expression. Read moreSource§fn gt<T>(
self,
other: T,
) -> Grouped<Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn gt<T>( self, other: T, ) -> Grouped<Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
>
expression. Read moreSource§fn ge<T>(
self,
other: T,
) -> Grouped<GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn ge<T>( self, other: T, ) -> Grouped<GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
>=
expression. Read moreSource§fn lt<T>(
self,
other: T,
) -> Grouped<Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn lt<T>( self, other: T, ) -> Grouped<Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
<
expression. Read moreSource§fn le<T>(
self,
other: T,
) -> Grouped<LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn le<T>( self, other: T, ) -> Grouped<LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a SQL
<=
expression. Read moreSource§fn between<T, U>(
self,
lower: T,
upper: U,
) -> Grouped<Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>>
fn between<T, U>( self, lower: T, upper: U, ) -> Grouped<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,
) -> Grouped<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, ) -> Grouped<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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read moreSource§impl<T> NullableExpressionMethods for Twhere
T: Expression,
impl<T> NullableExpressionMethods for Twhere
T: Expression,
Source§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
Source§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 moreSource§impl<E> PreferredBoolSqlType for E
impl<E> PreferredBoolSqlType for E
Source§type PreferredSqlType = <E as Expression>::SqlType
type PreferredSqlType = <E as Expression>::SqlType
The preferred
Bool
SQL type for this AsExpression implementation. Read moreSource§impl<T> SqliteExpressionMethods for Twhere
T: Expression,
impl<T> SqliteExpressionMethods for Twhere
T: Expression,
Source§fn is<T>(
self,
other: T,
) -> Grouped<Is<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn is<T>( self, other: T, ) -> Grouped<Is<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a Sqlite
IS
expression. Read moreSource§fn is_not<T>(
self,
other: T,
) -> Grouped<IsNot<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn is_not<T>( self, other: T, ) -> Grouped<IsNot<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a Sqlite
IS NOT
expression. Read more