pub struct Numeric;Expand description
The arbitrary precision numeric SQL type.
This type is only supported on PostgreSQL and MySQL.
On SQLite, Double should be used instead.
ToSql impls
bigdecimal::BigDecimalwithfeature = ["numeric"]
FromSql impls
bigdecimal::BigDecimalwithfeature = ["numeric"]
Trait Implementations
sourceimpl QueryId for Numeric
impl QueryId for Numeric
sourceconst HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self be uniquely identified by its type? Read more
impl Copy for Numeric
impl NotNull for Numeric
impl SingleValue for Numeric
Auto Trait Implementations
impl RefUnwindSafe for Numeric
impl Send for Numeric
impl Sync for Numeric
impl Unpin for Numeric
impl UnwindSafe for Numeric
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more