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

pub struct Float;

The float SQL type.

ToSql impls

FromSql impls

Trait Implementations

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<'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 Clone for Float[src]

impl Copy for Float[src]

impl Debug for Float[src]

impl Default for Float[src]

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 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<DB: Backend<RawValue = [u8]>> FromSql<Float, DB> for f32[src]

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

impl HasSqlType<Float> for Sqlite[src]

impl HasSqlType<Float> for Mysql[src]

impl HasSqlType<Float> for Pg[src]

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

impl QueryId for Float[src]

type QueryId = Float

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

impl SingleValue for Float[src]

impl SqlOrd for Float[src]

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<DB: Backend> ToSql<Float, DB> for f32[src]

Auto Trait Implementations

impl RefUnwindSafe for Float

impl Send for Float

impl Sync for Float

impl Unpin for Float

impl UnwindSafe for Float

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> IntoSql for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.