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

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 QueryId for Numeric
[src]

A type which uniquely represents Self in a SQL query. Read more

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl Foldable for Numeric
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

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 HasSqlType<Numeric> for Sqlite
[src]

impl NotNull for Numeric
[src]

impl SingleValue for Numeric
[src]

impl Default for Numeric
[src]

impl Clone for Numeric
[src]

Performs copy-assignment from source. Read more

impl Copy for Numeric
[src]

impl Debug for Numeric
[src]

Auto Trait Implementations

impl Send for Numeric

impl Sync for Numeric

Blanket Implementations

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more

impl<T> IntoNullable for T where
    T: NotNull
[src]

The nullable representation of this type. Read more

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]