Type Definition mz_repr::adt::numeric::Numeric

source · []
pub type Numeric = Decimal<NUMERIC_DATUM_WIDTH_USIZE>;
Expand description

A numeric value.

Trait Implementations

The SQL column type of this Rust type

Whether this Rust type can represent NULL values

Try to convert a Result whose Ok variant is a Datum into this native Rust type (Self). If it fails the error variant will contain the original result. Read more

Convert this Rust type into a Result containing a Datum, or an error

Used to do value-to-value conversions while consuming the input value. Depending on the implementation it may be potentially lossy. Read more