[−][src]Enum diesel::pg::data_types::PgNumeric
Represents a NUMERIC value, closely mirroring the PG wire protocol representation
Variants
Positive
A positive number
Fields of Positive
Negative
A negative number
Fields of Negative
NaN
Not a number
Trait Implementations
impl<__ST, __DB> Queryable<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
impl<__ST, __DB> Queryable<__ST, __DB> for PgNumeric where
__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 FromSql<Numeric, Pg> for PgNumeric
impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgNumeric where
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self> | [src] |
const FIELDS_NEEDED: usize
[src]
The number of fields that this type will consume. Must be equal to the number of times you would call row.take()
in build_from_row
Read more
impl<'expr> AsExpression<Numeric> for &'expr PgNumeric
[src]
impl<'expr> AsExpression<Numeric> for &'expr PgNumeric
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]
impl<'expr> AsExpression<Nullable<Numeric>> for &'expr PgNumeric
type Expression = Bound<Nullable<Numeric>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Numeric> for PgNumeric
[src]
impl AsExpression<Numeric> for PgNumeric
type Expression = Bound<Numeric, Self>
The expression being returned
fn as_expression(self) -> Self::Expression | [src] |
impl AsExpression<Nullable<Numeric>> for PgNumeric
[src]
impl AsExpression<Nullable<Numeric>> for PgNumeric
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]
impl<__DB> ToSql<Nullable<Numeric>, __DB> for PgNumeric where
__DB: Backend,
Self: ToSql<Numeric, __DB>,
impl ToSql<Numeric, Pg> for PgNumeric
[src]
impl ToSql<Numeric, Pg> for PgNumeric
impl<'a> From<&'a BigDecimal> for PgNumeric
[src]
impl<'a> From<&'a BigDecimal> for PgNumeric
fn from(decimal: &'a BigDecimal) -> Self | [src] |
impl From<BigDecimal> for PgNumeric
[src]
impl From<BigDecimal> for PgNumeric
fn from(bigdecimal: BigDecimal) -> Self | [src] |
impl Eq for PgNumeric
[src]
impl Eq for PgNumeric
impl PartialEq<PgNumeric> for PgNumeric
[src]
impl PartialEq<PgNumeric> for PgNumeric
impl Clone for PgNumeric
[src]
impl Clone for PgNumeric
fn clone(&self) -> PgNumeric | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Debug for PgNumeric
[src]
impl Debug for PgNumeric
Auto Trait Implementations
Blanket Implementations
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> AsExprOf<Self, T> where | [src] |
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where | [src] |
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |