pub struct Float8;Expand description
double precision (float8): 64-bit float. Rust f64.
Trait Implementations§
Source§impl AggregatePolicy<PostgresDialect> for Float8
impl AggregatePolicy<PostgresDialect> for Float8
Source§impl ArithmeticOutput for Float8
impl ArithmeticOutput for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float4> for Float8
impl ArithmeticOutput<Float4> for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float8> for Int2
impl ArithmeticOutput<Float8> for Int2
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float8> for Int4
impl ArithmeticOutput<Float8> for Int4
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float8> for Int8
impl ArithmeticOutput<Float8> for Int8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float8> for Float4
impl ArithmeticOutput<Float8> for Float4
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Float8> for Numeric
impl ArithmeticOutput<Float8> for Numeric
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Int2> for Float8
impl ArithmeticOutput<Int2> for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Int4> for Float8
impl ArithmeticOutput<Int4> for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Int8> for Float8
impl ArithmeticOutput<Int8> for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.Source§impl ArithmeticOutput<Numeric> for Float8
impl ArithmeticOutput<Numeric> for Float8
Source§type Nullability = PropagateNullability
type Nullability = PropagateNullability
Whether the operator itself can produce
NULL even from non-NULL
operands: / and % on SQLite’s Integer, Real and Numeric and
on every MySQL numeric type, which return NULL for a zero divisor.
PostgreSQL raises an error instead, so its operators only propagate
operand nullability.impl Assignable for Float8
impl Assignable<Float4> for Float8
impl Assignable<Float8> for Numeric
impl Assignable<Float8> for Any
impl Assignable<Int2> for Float8
impl Assignable<Int4> for Float8
impl Assignable<Int8> for Float8
impl Compatible for Float8
impl Compatible<Any> for Float8
impl Compatible<Float4> for Float8
impl Compatible<Float8> for Float4
impl Compatible<Float8> for Int2
impl Compatible<Float8> for Int4
impl Compatible<Float8> for Int8
impl Compatible<Float8> for Numeric
impl Compatible<Float8> for Any
impl Compatible<Int2> for Float8
impl Compatible<Int4> for Float8
impl Compatible<Int8> for Float8
impl Compatible<Numeric> for Float8
impl Compatible<Placeholder> for Float8
impl Copy for Float8
impl DataType for Float8
Source§impl DefaultCastTypeName for Float8
impl DefaultCastTypeName for Float8
Source§const CAST_TYPE_NAME: &'static str = "DOUBLE PRECISION"
const CAST_TYPE_NAME: &'static str = "DOUBLE PRECISION"
The type name used in
CAST(expr AS <name>).impl Eq for Float8
impl Floating for Float8
impl Numeric for Float8
Source§impl RoundingPolicy<PostgresDialect> for Float8
impl RoundingPolicy<PostgresDialect> for Float8
Source§fn precision_operand<'a, V>(expr: SQL<'a, V>) -> SQL<'a, V>where
V: SQLParam + 'a,
fn precision_operand<'a, V>(expr: SQL<'a, V>) -> SQL<'a, V>where
V: SQLParam + 'a,
Prepares the operand of
ROUND(expr, precision). Read moreSource§fn coerce_result<'a, V>(sql: SQL<'a, V>) -> SQL<'a, V>where
V: SQLParam + 'a,
fn coerce_result<'a, V>(sql: SQL<'a, V>) -> SQL<'a, V>where
V: SQLParam + 'a,
Coerces a rounding function’s result to
Self::Output. Read moreSource§impl SQLTypeToRust<PostgresDialect> for Float8
impl SQLTypeToRust<PostgresDialect> for Float8
impl StructuralPartialEq for Float8
Auto Trait Implementations§
impl Freeze for Float8
impl RefUnwindSafe for Float8
impl Send for Float8
impl Sync for Float8
impl Unpin for Float8
impl UnsafeUnpin for Float8
impl UnwindSafe for Float8
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
impl<'a, T, D> CastTarget<'a, T, D> for Twhere
T: DataType + DefaultCastTypeName,
Source§fn cast_type_name(self) -> &'a str
fn cast_type_name(self) -> &'a str
The SQL type name to cast to.