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

pub struct Float;

The float SQL type.

ToSql impls

FromSql impls

Trait Implementations

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

impl<DB> FromSql<Float, DB> for f32 where
    DB: Backend + for<'a> BinaryRawValue<'a>, 
[src]

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

type Expression = Bound<Float, Self>

The expression being returned

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

type Expression = Bound<Float, Self>

The expression being returned

impl AsExpression<Float> for f32[src]

type Expression = Bound<Float, Self>

The expression being returned

impl QueryId for Float[src]

type QueryId = Float

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

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

impl Foldable for Float[src]

type Sum = Nullable<Float>

The SQL type of sum(this_type)

type Avg = Nullable<Double>

The SQL type of avg(this_type)

impl Add for Float[src]

type Rhs = Float

The SQL type which can be added to this one

type Output = Float

The SQL type of the result of adding Rhs to Self

impl Sub for Float[src]

type Rhs = Float

The SQL type which can be subtracted from this one

type Output = Float

The SQL type of the result of subtracting Rhs from Self

impl Mul for Float[src]

type Rhs = Float

The SQL type which this can be multiplied by

type Output = Float

The SQL type of the result of multiplying Self by Rhs

impl Div for Float[src]

type Rhs = Float

The SQL type which this one can be divided by

type Output = Float

The SQL type of the result of dividing Self by Rhs

impl SqlOrd for Float[src]

impl HasSqlType<Float> for Sqlite[src]

impl HasSqlType<Float> for Mysql[src]

impl HasSqlType<Float> for Pg[src]

impl NotNull for Float[src]

impl SingleValue for Float[src]

impl Default for Float[src]

impl Clone for Float[src]

impl Copy for Float[src]

impl Debug for Float[src]

Auto Trait Implementations

impl Send for Float

impl Unpin for Float

impl Sync for Float

impl UnwindSafe for Float

impl RefUnwindSafe for Float

Blanket Implementations

impl<T> IntoSql for T[src]

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

type Nullable = Nullable<T>

The nullable representation of this type. Read more

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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