Struct diesel::sql_types::Float [] [src]

pub struct Float;

The float SQL type.

ToSql impls

FromSql impls

Trait Implementations

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

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Float
[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 Float
[src]

impl Foldable for Float
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

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

impl SingleValue for Float
[src]

impl HasSqlType<Float> 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<Float> 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<Float> 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 Float
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Float
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Float
[src]

impl Default for Float
[src]

[src]

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

impl FromSql<Float, Sqlite> for f32
[src]

[src]

See the trait documentation.

impl<DB: Backend<RawValue = [u8]>> FromSql<Float, DB> for f32
[src]

[src]

See the trait documentation.

impl<DB: Backend> ToSql<Float, DB> for f32
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Float> for &'expr f32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Float> for &'expr2 &'expr f32
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Float> for f32
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for Float

impl Sync for Float