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 Clone for now
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for now
[src]

impl Debug for now
[src]

Formats the value using the given formatter.

impl Expression for now
[src]

impl<QS> SelectableExpression<QS> for now
[src]

impl NonAggregate for now
[src]

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

impl QueryId for now
[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