Struct diesel::sql_types::Interval [−][src]
pub struct Interval;
Expand description
The interval SQL type.
This type is currently only implemented for PostgreSQL.
ToSql
impls
PgInterval
which can be constructed usingIntervalDsl
FromSql
impls
PgInterval
which can be constructed usingIntervalDsl
Trait Implementations
type Expression = Bound<Interval, Self>
type Expression = Bound<Interval, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Interval, Self>
type Expression = Bound<Interval, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Interval, Self>
type Expression = Bound<Interval, Self>
The expression being returned
Perform the conversion
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 Interval
impl UnwindSafe for Interval
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more