Function diesel::expression::dsl::date [] [src]

pub fn date<x>(x: x) -> date<x> where x: AsExpression<Timestamp>

Represents the SQL DATE() function. The argument should be a Timestamp expression, and the return value will be an expression of type Date