Struct diesel::sql_types::Float [−][src]
pub struct Float;
Trait Implementations
impl Foldable for Float[src]
impl Foldable for Floattype 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]
impl Add for Floattype 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]
impl Sub for Floattype 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]
impl Mul for Floattype 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]
impl Div for Floattype 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 SqlOrd for Floatimpl QueryId for Float[src]
impl QueryId for Floattype QueryId = Float
A type which uniquely represents Self in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self be uniquely identified by its type? Read more
fn query_id() -> Option<TypeId>[src]
fn query_id() -> Option<TypeId>Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more
impl NotNull for Float[src]
impl NotNull for Floatimpl SingleValue for Float[src]
impl SingleValue for Floatimpl HasSqlType<Float> for Sqlite[src]
impl HasSqlType<Float> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Float> for Mysql[src]
impl HasSqlType<Float> for Mysqlimpl HasSqlType<Float> for Pg[src]
impl HasSqlType<Float> for Pgfn metadata(_: &PgMetadataLookup) -> PgTypeMetadata[src]
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadataFetch the metadata for the given type Read more
impl Debug for Float[src]
impl Debug for Floatfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Float[src]
impl Clone for Floatfn clone(&self) -> Float[src]
fn clone(&self) -> FloatReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for Float[src]
impl Copy for Floatimpl Default for Float[src]
impl Default for Floatimpl FromSql<Float, Sqlite> for f32[src]
impl FromSql<Float, Sqlite> for f32impl<DB: Backend<RawValue = [u8]>> FromSql<Float, DB> for f32[src]
impl<DB: Backend<RawValue = [u8]>> FromSql<Float, DB> for f32impl<DB: Backend> ToSql<Float, DB> for f32[src]
impl<DB: Backend> ToSql<Float, DB> for f32impl<'expr> AsExpression<Float> for &'expr f32[src]
impl<'expr> AsExpression<Float> for &'expr f32type Expression = Bound<Float, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Float> for &'expr2 &'expr f32[src]
impl<'expr2, 'expr> AsExpression<Float> for &'expr2 &'expr f32type Expression = Bound<Float, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Float> for f32[src]
impl AsExpression<Float> for f32type Expression = Bound<Float, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion