Struct diesel::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 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 Foldable for Float
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl Debug for Float
[src]

[src]

Formats the value using the given formatter.

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