Struct diesel::sql_types::Double [−][src]
pub struct Double;
Trait Implementations
impl Foldable for Double[src]
impl Foldable for Doubletype Sum = Nullable<Double>
The SQL type of sum(this_type)
type Avg = Nullable<Double>
The SQL type of avg(this_type)
impl Add for Double[src]
impl Add for Doubletype Rhs = Double
The SQL type which can be added to this one
type Output = Double
The SQL type of the result of adding Rhs to Self
impl Sub for Double[src]
impl Sub for Doubletype Rhs = Double
The SQL type which can be subtracted from this one
type Output = Double
The SQL type of the result of subtracting Rhs from Self
impl Mul for Double[src]
impl Mul for Doubletype Rhs = Double
The SQL type which this can be multiplied by
type Output = Double
The SQL type of the result of multiplying Self by Rhs
impl Div for Double[src]
impl Div for Doubletype Rhs = Double
The SQL type which this one can be divided by
type Output = Double
The SQL type of the result of dividing Self by Rhs
impl SqlOrd for Double[src]
impl SqlOrd for Doubleimpl QueryId for Double[src]
impl QueryId for Doubletype QueryId = Double
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 Double[src]
impl NotNull for Doubleimpl SingleValue for Double[src]
impl SingleValue for Doubleimpl HasSqlType<Double> for Sqlite[src]
impl HasSqlType<Double> for Sqlitefn metadata(_: &()) -> SqliteType[src]
fn metadata(_: &()) -> SqliteTypeFetch the metadata for the given type Read more
impl HasSqlType<Double> for Mysql[src]
impl HasSqlType<Double> for Mysqlimpl HasSqlType<Double> for Pg[src]
impl HasSqlType<Double> for Pgfn metadata(_: &PgMetadataLookup) -> PgTypeMetadata[src]
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadataFetch the metadata for the given type Read more
impl Debug for Double[src]
impl Debug for Doublefn 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 Double[src]
impl Clone for Doublefn clone(&self) -> Double[src]
fn clone(&self) -> DoubleReturns 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 Double[src]
impl Copy for Doubleimpl Default for Double[src]
impl Default for Doubleimpl FromSql<Double, Sqlite> for f64[src]
impl FromSql<Double, Sqlite> for f64impl<DB: Backend<RawValue = [u8]>> FromSql<Double, DB> for f64[src]
impl<DB: Backend<RawValue = [u8]>> FromSql<Double, DB> for f64impl<DB: Backend> ToSql<Double, DB> for f64[src]
impl<DB: Backend> ToSql<Double, DB> for f64impl<'expr> AsExpression<Double> for &'expr f64[src]
impl<'expr> AsExpression<Double> for &'expr f64type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64[src]
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Double> for f64[src]
impl AsExpression<Double> for f64type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion