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

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]

Fetch the metadata for the given type Read more

impl HasSqlType<Timestamp> for Mysql
[src]

Fetch the metadata for the given type Read more

impl HasSqlType<Timestamp> for Pg
[src]

Fetch the metadata for the given type Read more

impl Debug for Timestamp
[src]

Formats the value using the given formatter. Read more

impl Clone for Timestamp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Timestamp
[src]

impl Default for Timestamp
[src]

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

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamp> for Timespec
[src]

The expression being returned

Perform the conversion

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamp> for PgTimestamp
[src]

The expression being returned

Perform the conversion

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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

impl ToSql<Timestamp, Sqlite> for NaiveDateTime
[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

See the trait documentation.

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

See the trait documentation.

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

See the trait documentation.

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamp> for SystemTime
[src]

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamp> for NaiveDateTime
[src]

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamp> for String
[src]

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

Auto Trait Implementations

impl Send for Timestamp

impl Sync for Timestamp