Struct diesel::sql_types::Numeric [] [src]

pub struct Numeric;

The arbitrary precision numeric SQL type.

This type is only supported on PostgreSQL and MySQL. On SQLite, Double should be used instead.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Numeric
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Numeric
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Numeric
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Numeric
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl Foldable for Numeric
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl Debug for Numeric
[src]

[src]

Formats the value using the given formatter.

impl Clone for Numeric
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Numeric
[src]

impl Default for Numeric
[src]

[src]

Returns the "default value" for a type. Read more