Struct pgrepr::value::numeric::Numeric [−][src]
pub struct Numeric(pub OrderedDecimal<AdtNumeric>);
Expand description
(TO BE DEPRECATED) A wrapper for the repr
crate’s Decimal
type that can be serialized to
and deserialized from the PostgreSQL binary format.
Tuple Fields
0: OrderedDecimal<AdtNumeric>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Numeric
impl UnwindSafe for Numeric
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a reference to self
as a ToSql
trait object.
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more