Struct diesel::types::Timestamp [] [src]

pub struct Timestamp;

The timestamp/datetime SQL type.

This type is currently only implemented for PostgreSQL and SQLite.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Timestamp
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Timestamp
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl SqlOrd for Timestamp
[src]

impl QueryId for Timestamp
[src]

HAS_STATIC_QUERY_ID: bool = true

[src]

impl NotNull for Timestamp
[src]

impl SingleValue for Timestamp
[src]

impl Debug for Timestamp
[src]

[src]

Formats the value using the given formatter.

impl Clone for Timestamp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Timestamp
[src]

impl Default for Timestamp
[src]

[src]

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