Struct diesel::sql_types::Interval
[−]
[src]
pub struct Interval;
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
impl SqlOrd for Interval
[src]
impl Foldable for Interval
[src]
type Sum = Nullable<Interval>
The SQL type of sum(this_type)
type Avg = Nullable<Interval>
The SQL type of avg(this_type)
impl Debug for Interval
[src]
impl Clone for Interval
[src]
fn clone(&self) -> Interval
[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