[−][src]Enum diesel::pg::data_types::PgNumeric
Represents a NUMERIC value, closely mirroring the PG wire protocol representation
Variants
A positive number
Fields of Positive
A negative number
Fields of Negative
Not a number
Trait Implementations
impl<__ST, __DB> Queryable<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
type Row = Self
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
impl FromSql<Numeric, Pg> for PgNumeric
[src]
impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
const FIELDS_NEEDED: usize
[src]
impl<'expr> AsExpression<Numeric> for &'expr PgNumeric
[src]
type Expression = Bound<Numeric, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric
[src]
type Expression = Bound<Nullable<Numeric>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl AsExpression<Numeric> for PgNumeric
[src]
type Expression = Bound<Numeric, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl AsExpression<Nullable<Numeric>> for PgNumeric
[src]
type Expression = Bound<Nullable<Numeric>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<__DB> ToSql<Nullable<Numeric>, __DB> for PgNumeric where
__DB: Backend,
Self: ToSql<Numeric, __DB>,
[src]
__DB: Backend,
Self: ToSql<Numeric, __DB>,
impl ToSql<Numeric, Pg> for PgNumeric
[src]
impl<'a> From<&'a BigDecimal> for PgNumeric
[src]
impl From<BigDecimal> for PgNumeric
[src]
impl Clone for PgNumeric
[src]
impl Eq for PgNumeric
[src]
impl PartialEq<PgNumeric> for PgNumeric
[src]
impl Debug for PgNumeric
[src]
Auto Trait Implementations
impl Send for PgNumeric
impl Sync for PgNumeric
impl Unpin for PgNumeric
impl UnwindSafe for PgNumeric
impl RefUnwindSafe for PgNumeric
Blanket Implementations
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
[src]
Self: AsExpression<T> + Sized,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,