Struct diesel::types::Date
[−]
[src]
pub struct Date;
The date SQL type.
This type is currently only implemented for PostgreSQL.
ToSql
impls
chrono::NaiveDate
withfeature = "chrono"
FromSql
impls
chrono::NaiveDate
withfeature = "chrono"
Trait Implementations
impl Add for Date
[src]
impl Sub for Date
[src]
impl SqlOrd for Date
[src]
impl QueryId for Date
[src]
impl NotNull for Date
[src]
impl Default for Date
[src]
impl Copy for Date
[src]
impl Clone for Date
[src]
fn clone(&self) -> Date
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more