Struct diesel::expression::dsl::now [] [src]

pub struct now;

Represents the SQL CURRENT_TIMESTAMP constant. This is equivalent to the NOW() function on backends that support it.

Trait Implementations

impl Debug for now
[src]

Formats the value using the given formatter.

impl Copy for now
[src]

impl Clone for now
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Expression for now
[src]

impl NonAggregate for now
[src]

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

impl QueryId for now
[src]

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

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

impl<Rhs> Add<Rhs> for now where Rhs: AsExpression<now::SqlType::Rhs>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<Rhs> Sub<Rhs> for now where Rhs: AsExpression<now::SqlType::Rhs>
[src]

The resulting type after applying the - operator

The method for the - operator

impl AsExpression<Timestamptz> for now
[src]