Struct sqlx::postgres::types::PgTimeTz [−][src]
This is supported on crate feature
postgres
only.Expand description
Represents a moment of time, in a specified timezone.
Warning
PgTimeTz
provides TIMETZ
and is supported only for reading from legacy databases.
PostgreSQL recommends to use TIMESTAMPTZ
instead.
Fields
time: Time
offset: Offset
Trait Implementations
Writes the value of self
into buf
without moving self
. Read more
Writes the value of self
into buf
in the expected format for the database.
Writes the value of self
into buf
without moving self
. Read more
Writes the value of self
into buf
in the expected format for the database.
Returns the canonical SQL type for this Rust type. Read more
Returns the canonical SQL type for this Rust type. Read more
Auto Trait Implementations
impl<Time, Offset> RefUnwindSafe for PgTimeTz<Time, Offset> where
Offset: RefUnwindSafe,
Time: RefUnwindSafe,
impl<Time, Offset> UnwindSafe for PgTimeTz<Time, Offset> where
Offset: UnwindSafe,
Time: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more