Struct diesel::sql_types::Double [−][src]
pub struct Double;
Trait Implementations
impl Foldable for Double
[src]
impl Foldable for Double
type 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 Double
type 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 Double
type 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 Double
type 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 Double
type 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 Double
impl QueryId for Double
[src]
impl QueryId for Double
type 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 Double
impl SingleValue for Double
[src]
impl SingleValue for Double
impl HasSqlType<Double> for Sqlite
[src]
impl HasSqlType<Double> for Sqlite
fn metadata(_: &()) -> SqliteType
[src]
fn metadata(_: &()) -> SqliteType
Fetch the metadata for the given type Read more
impl HasSqlType<Double> for Mysql
[src]
impl HasSqlType<Double> for Mysql
impl HasSqlType<Double> for Pg
[src]
impl HasSqlType<Double> for Pg
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
[src]
fn metadata(_: &PgMetadataLookup) -> PgTypeMetadata
Fetch the metadata for the given type Read more
impl Debug for Double
[src]
impl Debug for Double
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Double
[src]
impl Clone for Double
fn clone(&self) -> Double
[src]
fn clone(&self) -> Double
Returns 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 Double
impl Default for Double
[src]
impl Default for Double
impl FromSql<Double, Sqlite> for f64
[src]
impl FromSql<Double, Sqlite> for f64
impl<DB: Backend<RawValue = [u8]>> FromSql<Double, DB> for f64
[src]
impl<DB: Backend<RawValue = [u8]>> FromSql<Double, DB> for f64
impl<DB: Backend> ToSql<Double, DB> for f64
[src]
impl<DB: Backend> ToSql<Double, DB> for f64
impl<'expr> AsExpression<Double> for &'expr f64
[src]
impl<'expr> AsExpression<Double> for &'expr f64
type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
[src]
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl AsExpression<Double> for f64
[src]
impl AsExpression<Double> for f64
type Expression = Bound<Double, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion