[][src]Struct diesel::dsl::today

pub struct today;

Represents the SQL CURRENT_DATE constant.

Trait Implementations

impl<Rhs> Add<Rhs> for today where
    Rhs: AsExpression<<<today as Expression>::SqlType as Add>::Rhs>, 
[src]

type Output = Add<Self, Rhs::Expression>

The resulting type after applying the + operator.

impl<QS> AppearsOnTable<QS> for today where
    today: Expression
[src]

impl Clone for today[src]

impl Copy for today[src]

impl Debug for today[src]

impl Expression for today[src]

type SqlType = Date

The type that this expression represents in SQL

impl<DB: Backend> QueryFragment<DB> for today[src]

impl QueryId for today[src]

type QueryId = today

A type which uniquely represents Self in a SQL query. Read more

impl<QS> SelectableExpression<QS> for today where
    today: AppearsOnTable<QS>, 
[src]

impl<Rhs> Sub<Rhs> for today where
    Rhs: AsExpression<<<today as Expression>::SqlType as Sub>::Rhs>, 
[src]

type Output = Sub<Self, Rhs::Expression>

The resulting type after applying the - operator.

impl<__GroupByClause> ValidGrouping<__GroupByClause> for today[src]

type IsAggregate = Never

Is this expression aggregate? Read more

Auto Trait Implementations

impl RefUnwindSafe for today

impl Send for today

impl Sync for today

impl Unpin for today

impl UnwindSafe for today

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, ST> AsExpression<ST> for T where
    ST: SqlType + IntoNotNullable + TypedExpressionType,
    T: Expression,
    <ST as IntoNotNullable>::NotNullable: SingleValue,
    ExpressionImplHelper<T, <ST as SqlType>::IsNull, <<T as Expression>::SqlType as SqlType>::IsNull>: AsExpressionHelper<ST>,
    <T as Expression>::SqlType: SqlType
[src]

type Expression = <ExpressionImplHelper<T, <ST as SqlType>::IsNull, <<T as Expression>::SqlType as SqlType>::IsNull> as AsExpressionHelper<ST>>::Expression

The expression being returned

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<QS, T, DB, GB, IsAggregate> BoxableExpression<QS, DB, GB, IsAggregate> for T where
    DB: Backend,
    T: Expression + SelectableExpression<QS> + ValidGrouping<GB> + QueryFragment<DB>,
    <T as ValidGrouping<GB>>::IsAggregate: MixedAggregates<IsAggregate>,
    <<T as ValidGrouping<GB>>::IsAggregate as MixedAggregates<IsAggregate>>::Output == IsAggregate, 
[src]

impl<Conn, DB, T> ExecuteDsl<Conn, DB> for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> NonAggregate for T where
    T: ValidGrouping<()>,
    <T as ValidGrouping<()>>::IsAggregate: MixedAggregates<No>,
    <<T as ValidGrouping<()>>::IsAggregate as MixedAggregates<No>>::Output == No
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]