Struct diesel::pg::types::sql_types::Timestamptz[][src]

pub struct Timestamptz;

The "timestamp with time zone" SQL type, which PostgreSQL abbreviates to timestamptz.

ToSql impls

FromSql impls

Trait Implementations

impl AsExpression<Timestamptz> for now
[src]

The expression being returned

Perform the conversion

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

See the trait documentation.

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

See the trait documentation.

impl FromSql<Timestamptz, Pg> for DateTime<Utc>
[src]

See the trait documentation.

impl<TZ: TimeZone> ToSql<Timestamptz, Pg> for DateTime<TZ>
[src]

See the trait documentation.

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamptz> for PgTimestamp
[src]

The expression being returned

Perform the conversion

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

See the trait documentation.

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

See the trait documentation.

impl QueryId for Timestamptz
[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 Timestamptz
[src]

impl SingleValue for Timestamptz
[src]

impl HasSqlType<Timestamptz> for Pg
[src]

Fetch the metadata for the given type Read more

impl Debug for Timestamptz
[src]

Formats the value using the given formatter. Read more

impl Clone for Timestamptz
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Timestamptz
[src]

impl Default for Timestamptz
[src]

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

impl Add for Timestamptz
[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 Timestamptz
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

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

The expression being returned

Perform the conversion

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

The expression being returned

Perform the conversion

impl AsExpression<Timestamptz> for NaiveDateTime
[src]

The expression being returned

Perform the conversion

impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
[src]

The expression being returned

Perform the conversion

impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
[src]

The expression being returned

Perform the conversion

impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
[src]

The expression being returned

Perform the conversion

Auto Trait Implementations

impl Send for Timestamptz

impl Sync for Timestamptz