pub struct TimestampDecoder;Expand description
Decoder for timestamp (without time zone), storing
YYYY-MM-DD HH:MM:SS.ffffff as Value::Text.
Trait Implementations§
Source§impl Clone for TimestampDecoder
impl Clone for TimestampDecoder
impl Copy for TimestampDecoder
Source§impl Debug for TimestampDecoder
impl Debug for TimestampDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for TimestampDecoder
impl<S, B> Decoder<PgBinary, S, B> for TimestampDecoder
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 TimestampDecoder
impl RefUnwindSafe for TimestampDecoder
impl Send for TimestampDecoder
impl Sync for TimestampDecoder
impl Unpin for TimestampDecoder
impl UnsafeUnpin for TimestampDecoder
impl UnwindSafe for TimestampDecoder
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