Struct diesel::types::Date
[−]
[src]
pub struct Date;
The date SQL type.
This type is currently only implemented for PostgreSQL and SQLite.
ToSql
impls
chrono::NaiveDate
withfeature = "chrono"
FromSql
impls
chrono::NaiveDate
withfeature = "chrono"
Trait Implementations
impl Add for Date
[src]
type Rhs = Interval
The SQL type which can be added to this one
type Output = Timestamp
The SQL type of the result of adding Rhs
to Self
impl Sub for Date
[src]
type Rhs = Interval
The SQL type which can be subtracted from this one
type Output = Timestamp
The SQL type of the result of subtracting Rhs
from Self
impl SqlOrd for Date
[src]
impl QueryId for Date
[src]
impl NotNull for Date
[src]
impl SingleValue for Date
[src]
impl Debug for Date
[src]
impl Clone for Date
[src]
fn clone(&self) -> Date
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more