Struct diesel::types::Interval [] [src]

pub struct Interval;

The interval SQL type.

This type is currently only implemented for PostgreSQL.

ToSql impls

FromSql impls

Trait Implementations

impl SqlOrd for Interval
[src]

impl Foldable for Interval
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl Debug for Interval
[src]

[src]

Formats the value using the given formatter.

impl Clone for Interval
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Interval
[src]

impl Default for Interval
[src]

[src]

Returns the "default value" for a type. Read more

impl QueryId for Interval
[src]

A type which uniquely represents Self in a SQL query. Read more

HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl NotNull for Interval
[src]

impl SingleValue for Interval
[src]