pub struct DecimalTextDecoder;Expand description
Decoder for numeric/decimal columns, storing Postgres’s numeric
text (-5000.0000, NaN) as Value::Text.
Trait Implementations§
Source§impl Clone for DecimalTextDecoder
impl Clone for DecimalTextDecoder
impl Copy for DecimalTextDecoder
Source§impl Debug for DecimalTextDecoder
impl Debug for DecimalTextDecoder
Source§impl<S, B> Decoder<PgBinary, S, B> for DecimalTextDecoder
impl<S, B> Decoder<PgBinary, S, B> for DecimalTextDecoder
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 DecimalTextDecoder
impl RefUnwindSafe for DecimalTextDecoder
impl Send for DecimalTextDecoder
impl Sync for DecimalTextDecoder
impl Unpin for DecimalTextDecoder
impl UnsafeUnpin for DecimalTextDecoder
impl UnwindSafe for DecimalTextDecoder
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