Struct block_tools::db::use_diesel::sql_types::Double [−][src]
Trait Implementations
impl Add for Double
[src]
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<'expr> AsExpression<Double> for &'expr f64
[src]
type Expression = Bound<Double, &'expr f64>
The expression being returned
pub fn as_expression(self) -> <&'expr f64 as AsExpression<Double>>::Expression
[src]
impl<'expr2, 'expr> AsExpression<Double> for &'expr2 &'expr f64
[src]
type Expression = Bound<Double, &'expr2 &'expr f64>
The expression being returned
pub fn as_expression(
self
) -> <&'expr2 &'expr f64 as AsExpression<Double>>::Expression
[src]
self
) -> <&'expr2 &'expr f64 as AsExpression<Double>>::Expression
impl AsExpression<Double> for f64
[src]
type Expression = Bound<Double, f64>
The expression being returned
pub fn as_expression(self) -> <f64 as AsExpression<Double>>::Expression
[src]
impl Clone for Double
[src]
impl Copy for Double
[src]
impl Debug for Double
[src]
impl Default for Double
[src]
impl Div for Double
[src]
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 Foldable for Double
[src]
type Sum = Nullable<Double>
The SQL type of sum(this_type)
type Avg = Nullable<Double>
The SQL type of avg(this_type)
impl<DB> FromSql<Double, DB> for f64 where
DB: Backend<RawValue = [u8]>,
[src]
DB: Backend<RawValue = [u8]>,
pub fn from_sql(
bytes: Option<&[u8]>
) -> Result<f64, Box<dyn Error + 'static + Send + Sync, Global>>
[src]
bytes: Option<&[u8]>
) -> Result<f64, Box<dyn Error + 'static + Send + Sync, Global>>
impl HasSqlType<Double> for Pg
[src]
pub fn metadata(&PgMetadataLookup) -> PgTypeMetadata
[src]
impl Mul for Double
[src]
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 NotNull for Double
[src]
impl QueryId for Double
[src]
type QueryId = Double
A type which uniquely represents Self
in a SQL query. Read more
pub const HAS_STATIC_QUERY_ID: bool
[src]
pub fn query_id() -> Option<TypeId>
[src]
impl SingleValue for Double
[src]
impl SqlOrd for Double
[src]
impl Sub for Double
[src]
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<DB> ToSql<Double, DB> for f64 where
DB: Backend,
[src]
DB: Backend,
Auto Trait Implementations
impl RefUnwindSafe for Double
[src]
impl Send for Double
[src]
impl Sync for Double
[src]
impl Unpin for Double
[src]
impl UnwindSafe for Double
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoNullable for T where
T: NotNull,
[src]
T: NotNull,
impl<T> IntoSql for T
[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,