pub struct created_at;Trait Implementations§
Source§impl<Rhs> Add<Rhs> for created_at
impl<Rhs> Add<Rhs> for created_at
Source§type Output = Add<created_at, <Rhs as AsExpression<<<created_at as Expression>::SqlType as Add>::Rhs>>::Expression>
type Output = Add<created_at, <Rhs as AsExpression<<<created_at as Expression>::SqlType as Add>::Rhs>>::Expression>
The resulting type after applying the
+ operator.Source§impl AppearsInFromClause<Only<table>> for created_at
impl AppearsInFromClause<Only<table>> for created_at
Source§impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for created_atwhere
TSM: TablesampleMethod,
impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for created_atwhere
TSM: TablesampleMethod,
Source§impl Clone for created_at
impl Clone for created_at
Source§fn clone(&self) -> created_at
fn clone(&self) -> created_at
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 created_at
impl Column for created_at
Source§impl Debug for created_at
impl Debug for created_at
Source§impl Default for created_at
impl Default for created_at
Source§fn default() -> created_at
fn default() -> created_at
Returns the “default value” for a type. Read more
Source§impl Expression for created_at
impl Expression for created_at
Source§type SqlType = Timestamptz
type SqlType = Timestamptz
The type that this expression represents in SQL
Source§impl<DB> QueryFragment<DB> for created_at
impl<DB> QueryFragment<DB> for created_at
Source§impl QueryId for created_at
impl QueryId for created_at
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 = created_at
type QueryId = created_at
A type which uniquely represents
Self in a SQL query. Read moreSource§impl<Rhs> Sub<Rhs> for created_at
impl<Rhs> Sub<Rhs> for created_at
Source§type Output = Sub<created_at, <Rhs as AsExpression<<<created_at as Expression>::SqlType as Sub>::Rhs>>::Expression>
type Output = Sub<created_at, <Rhs as AsExpression<<<created_at as Expression>::SqlType as Sub>::Rhs>>::Expression>
The resulting type after applying the
- operator.Source§impl ValidGrouping<()> for created_at
impl ValidGrouping<()> for created_at
Source§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
Source§impl<__GB> ValidGrouping<__GB> for created_atwhere
__GB: IsContainedInGroupBy<created_at, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for created_atwhere
__GB: IsContainedInGroupBy<created_at, Output = Yes>,
Source§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for created_at
impl Copy for created_at
impl SelectableExpression<Only<table>> for created_at
impl<TSM> SelectableExpression<Tablesample<table, TSM>> for created_atwhere
TSM: TablesampleMethod,
impl SelectableExpression<table> for created_at
Auto Trait Implementations§
impl Freeze for created_at
impl RefUnwindSafe for created_at
impl Send for created_at
impl Sync for created_at
impl Unpin for created_at
impl UnwindSafe for created_at
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> 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> 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<C> OrderDecorator for Cwhere
C: Column,
impl<C> OrderDecorator for Cwhere
C: Column,
Source§impl<T> PgExpressionMethods for Twhere
T: Expression,
impl<T> PgExpressionMethods for Twhere
T: Expression,
Source§fn is_not_distinct_from<T>(
self,
other: T,
) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn is_not_distinct_from<T>( self, other: T, ) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a PostgreSQL
IS NOT DISTINCT FROM expression. Read moreSource§fn is_distinct_from<T>(
self,
other: T,
) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>
fn is_distinct_from<T>( self, other: T, ) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>
Creates a PostgreSQL
IS DISTINCT FROM expression. Read moreSource§impl<T> PgTimestampExpressionMethods for T
impl<T> PgTimestampExpressionMethods for T
Source§fn at_time_zone<T>(
self,
timezone: T,
) -> Grouped<AtTimeZone<Self, <T as AsExpression<Text>>::Expression>>where
T: AsExpression<Text>,
fn at_time_zone<T>(
self,
timezone: T,
) -> Grouped<AtTimeZone<Self, <T as AsExpression<Text>>::Expression>>where
T: AsExpression<Text>,
Creates a PostgreSQL “AT TIME ZONE” expression. Read more