pub type Numeric = Decimal<NUMERIC_DATUM_WIDTH_USIZE>;
Expand description
A numeric value.
Aliased Type§
struct Numeric { /* private fields */ }
Trait Implementations§
source§impl AsColumnType for Numeric
impl AsColumnType for Numeric
source§fn as_column_type() -> ColumnType
fn as_column_type() -> ColumnType
The SQL column type of this Rust type
source§impl<'a, E> DatumType<'a, E> for Numeric
impl<'a, E> DatumType<'a, E> for Numeric
source§impl DecimalLike for Numeric
impl DecimalLike for Numeric
source§fn lossy_from(i: i64) -> Self
fn lossy_from(i: i64) -> Self
Used to do value-to-value conversions while consuming the input value. Depending on the
implementation it may be potentially lossy.