Struct diesel::sql_types::Date [−][src]
pub struct Date;
Expand description
The date SQL type.
ToSql
impls
chrono::NaiveDate
withfeature = "chrono"
FromSql
impls
chrono::NaiveDate
withfeature = "chrono"
Trait Implementations
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Date, Self>
type Expression = Bound<Date, Self>
The expression being returned
Perform the conversion
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of String
, but don’t want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Can the SQL generated by Self
be uniquely identified by its type? Read more
Auto Trait Implementations
impl RefUnwindSafe for Date
impl UnwindSafe for Date
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more