pub struct DateDecoder;Expand description
Decoder for date, storing YYYY-MM-DD as Value::Text.
Trait Implementations§
Source§impl Clone for DateDecoder
impl Clone for DateDecoder
impl Copy for DateDecoder
Source§impl Debug for DateDecoder
impl Debug for DateDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for DateDecoder
impl<S, B> Decoder<PgBinary, S, B> for DateDecoder
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 DateDecoder
impl RefUnwindSafe for DateDecoder
impl Send for DateDecoder
impl Sync for DateDecoder
impl Unpin for DateDecoder
impl UnsafeUnpin for DateDecoder
impl UnwindSafe for DateDecoder
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