Struct diesel::types::Numeric
[−]
[src]
pub struct Numeric;
The numeric SQL type.
ToSql
impls
bigdecimal::BigDecimal
(currenty PostgreSQL only, requires thenumeric
feature, which depends on thebigdecimal
crate)
FromSql
impls
bigdecimal::BigDecimal
(currenty PostgreSQL only, requires thenumeric
feature, which depends on thebigdecimal
crate)
On SQLite, Double
should be used instead.
Trait Implementations
impl Add for Numeric
[src]
impl Sub for Numeric
[src]
impl Mul for Numeric
[src]
impl Div for Numeric
[src]
impl Foldable for Numeric
[src]
impl Debug for Numeric
[src]
impl Clone for Numeric
[src]
fn clone(&self) -> Numeric
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more