Struct diesel::sql_types::Double [] [src]

pub struct Double;

The double precision float SQL type.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Double
[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 Double
[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 Double
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Double
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl SqlOrd for Double
[src]

impl Foldable for Double
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl QueryId for Double
[src]

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

HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

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

impl NotNull for Double
[src]

impl SingleValue for Double
[src]

impl HasSqlType<Double> for Sqlite
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Double> for Mysql
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl HasSqlType<Double> for Pg
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl Debug for Double
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Double
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Double
[src]

impl Default for Double
[src]

[src]

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

impl FromSql<Double, Sqlite> for f64
[src]

[src]

See the trait documentation.

impl<DB: Backend<RawValue = [u8]>> FromSql<Double, DB> for f64
[src]

[src]

See the trait documentation.

impl<DB: Backend> ToSql<Double, DB> for f64
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Double> for &'expr f64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Double> for f64
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for Double

impl Sync for Double