pub struct TimeDecoder;Expand description
Decoder for time, storing HH:MM:SS.ffffff, and for timetz,
storing the UTC time HH:MM:SS.ffffff+00:00.
Trait Implementations§
Source§impl Clone for TimeDecoder
impl Clone for TimeDecoder
impl Copy for TimeDecoder
Source§impl Debug for TimeDecoder
impl Debug for TimeDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for TimeDecoder
impl<S, B> Decoder<PgBinary, S, B> for TimeDecoder
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 TimeDecoder
impl RefUnwindSafe for TimeDecoder
impl Send for TimeDecoder
impl Sync for TimeDecoder
impl Unpin for TimeDecoder
impl UnsafeUnpin for TimeDecoder
impl UnwindSafe for TimeDecoder
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