Struct diesel::sql_types::Timestamp [] [src]

pub struct Timestamp;

The timestamp SQL type.

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]

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 Timestamp
[src]

impl SingleValue for Timestamp
[src]

impl HasSqlType<Timestamp> for Sqlite
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Timestamp> for Mysql
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Timestamp> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl Debug for Timestamp
[src]

[src]

Formats the value using the given formatter. Read more

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

impl ToSql<Timestamp, Mysql> for MYSQL_TIME
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Mysql> for MYSQL_TIME
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Mysql> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Mysql> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for SystemTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for SystemTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Pg> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Timestamp> for &'expr Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Timestamp> for Timespec
[src]

The expression being returned

[src]

Perform the conversion

impl ToSql<Timestamp, Pg> for Timespec
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for Timespec
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Timestamp> for &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Timestamp> for PgTimestamp
[src]

The expression being returned

[src]

Perform the conversion

impl ToSql<Timestamp, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Pg> for PgTimestamp
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Sqlite> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Sqlite> for NaiveDateTime
[src]

[src]

See the trait documentation.

impl FromSql<Timestamp, Sqlite> for *const str
[src]

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

[src]

See the trait documentation.

impl ToSql<Timestamp, Sqlite> for str
[src]

[src]

See the trait documentation.

impl ToSql<Timestamp, Sqlite> for String
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Timestamp> for &'expr SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Timestamp> for SystemTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Timestamp> for &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Timestamp> for NaiveDateTime
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Timestamp> for &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr String
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Timestamp> for String
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Timestamp> for &'expr str
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Timestamp> for &'expr2 &'expr str
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for Timestamp

impl Sync for Timestamp