[−][src]Struct diesel::pg::types::sql_types::Timestamptz
The "timestamp with time zone" SQL type, which PostgreSQL abbreviates
to timestamptz
.
ToSql
impls
PgTimestamp
chrono::NaiveDateTime
withfeature = "chrono"
chrono::DateTime
withfeature = "chrono"
FromSql
impls
PgTimestamp
chrono::NaiveDateTime
withfeature = "chrono"
chrono::DateTime
withfeature = "chrono"
Trait Implementations
impl FromSql<Timestamptz, Pg> for NaiveDateTime
[src]
impl FromSql<Timestamptz, Pg> for NaiveDateTime
impl FromSql<Timestamptz, Pg> for DateTime<Utc>
[src]
impl FromSql<Timestamptz, Pg> for DateTime<Utc>
impl FromSql<Timestamptz, Pg> for PgTimestamp
[src]
impl FromSql<Timestamptz, Pg> for PgTimestamp
impl AsExpression<Timestamptz> for now
[src]
impl AsExpression<Timestamptz> for now
type Expression = Coerce<now, Timestamptz>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr> AsExpression<Timestamptz> for &'expr PgTimestamp
[src]
impl<'expr> AsExpression<Timestamptz> for &'expr PgTimestamp
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PgTimestamp
[src]
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr PgTimestamp
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Timestamptz> for PgTimestamp
[src]
impl AsExpression<Timestamptz> for PgTimestamp
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr> AsExpression<Timestamptz> for &'expr NaiveDateTime
[src]
impl<'expr> AsExpression<Timestamptz> for &'expr NaiveDateTime
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr NaiveDateTime
[src]
impl<'expr2, 'expr> AsExpression<Timestamptz> for &'expr2 &'expr NaiveDateTime
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Timestamptz> for NaiveDateTime
[src]
impl AsExpression<Timestamptz> for NaiveDateTime
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
[src]
impl<'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr DateTime<Tz>
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
[src]
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Timestamptz> for &'expr2 &'expr DateTime<Tz>
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
[src]
impl<Tz: TimeZone> AsExpression<Timestamptz> for DateTime<Tz>
type Expression = Bound<Timestamptz, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl QueryId for Timestamptz
[src]
impl QueryId for Timestamptz
type QueryId = Timestamptz
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
[src]
fn query_id() -> Option<TypeId> | [src] |
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
impl ToSql<Timestamptz, Pg> for NaiveDateTime
[src]
impl ToSql<Timestamptz, Pg> for NaiveDateTime
impl<TZ: TimeZone> ToSql<Timestamptz, Pg> for DateTime<TZ>
[src]
impl<TZ: TimeZone> ToSql<Timestamptz, Pg> for DateTime<TZ>
impl ToSql<Timestamptz, Pg> for PgTimestamp
[src]
impl ToSql<Timestamptz, Pg> for PgTimestamp
impl Add for Timestamptz
[src]
impl Add for Timestamptz
type Rhs = Interval
The SQL type which can be added to this one
type Output = Timestamptz
The SQL type of the result of adding Rhs
to Self
impl Sub for Timestamptz
[src]
impl Sub for Timestamptz
type Rhs = Interval
The SQL type which can be subtracted from this one
type Output = Timestamptz
The SQL type of the result of subtracting Rhs
from Self
impl SqlOrd for Timestamptz
[src]
impl SqlOrd for Timestamptz
impl HasSqlType<Timestamptz> for Pg
[src]
impl HasSqlType<Timestamptz> for Pg
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata | [src] |
impl NotNull for Timestamptz
[src]
impl NotNull for Timestamptz
impl SingleValue for Timestamptz
[src]
impl SingleValue for Timestamptz
impl Copy for Timestamptz
[src]
impl Copy for Timestamptz
impl Default for Timestamptz
[src]
impl Default for Timestamptz
fn default() -> Timestamptz | [src] |
impl Clone for Timestamptz
[src]
impl Clone for Timestamptz
fn clone(&self) -> Timestamptz | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for Timestamptz
[src]
impl Debug for Timestamptz
Auto Trait Implementations
impl Send for Timestamptz
impl Send for Timestamptz
impl Sync for Timestamptz
impl Sync for Timestamptz
Blanket Implementations
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> AsExprOf<Self, T> where | [src] |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where | [src] |
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> IntoNullable for T where
T: NotNull,
[src]
impl<T> IntoNullable for T where
T: NotNull,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |