pub struct TimestampTzDecoder;Expand description
Decoder for timestamptz, storing the instant in UTC as
YYYY-MM-DD HH:MM:SS.ffffff+00:00, which orders as text and which
SQLite’s date functions read.
Trait Implementations§
Source§impl Clone for TimestampTzDecoder
impl Clone for TimestampTzDecoder
impl Copy for TimestampTzDecoder
Source§impl Debug for TimestampTzDecoder
impl Debug for TimestampTzDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for TimestampTzDecoder
impl<S, B> Decoder<PgBinary, S, B> for TimestampTzDecoder
Source§fn decode(
&self,
payload: PgBinaryColumn<'_>,
) -> Result<Value<S, B>, DecodeError>
fn decode( &self, payload: PgBinaryColumn<'_>, ) -> Result<Value<S, B>, DecodeError>
Decode one payload. Read more
Auto Trait Implementations§
impl Freeze for TimestampTzDecoder
impl RefUnwindSafe for TimestampTzDecoder
impl Send for TimestampTzDecoder
impl Sync for TimestampTzDecoder
impl Unpin for TimestampTzDecoder
impl UnsafeUnpin for TimestampTzDecoder
impl UnwindSafe for TimestampTzDecoder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more