Struct diesel::sql_types::Nullable [−][src]
pub struct Nullable<ST: NotNull>(_);
The nullable SQL type.
This wraps another SQL type to indicate that it can be null.
By default all values are assumed to be NOT NULL
.
ToSql
impls
- Any
T
which implementsToSql<ST>
Option<T>
for anyT
which implementsToSql<ST>
FromSql
impls
Option<T>
for anyT
which implementsFromSql<ST>
Trait Implementations
impl AsExpression<Nullable<Timestamptz>> for now
[src]
impl AsExpression<Nullable<Timestamptz>> for now
type Expression = Coerce<now, Nullable<Timestamptz>>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<T> Foldable for Nullable<T> where
T: Foldable + NotNull,
[src]
impl<T> Foldable for Nullable<T> where
T: Foldable + NotNull,
impl<T> Add for Nullable<T> where
T: Add + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
[src]
impl<T> Add for Nullable<T> where
T: Add + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
type Rhs = Nullable<T::Rhs>
The SQL type which can be added to this one
type Output = Nullable<T::Output>
The SQL type of the result of adding Rhs
to Self
impl<T> Sub for Nullable<T> where
T: Sub + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
[src]
impl<T> Sub for Nullable<T> where
T: Sub + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
type Rhs = Nullable<T::Rhs>
The SQL type which can be subtracted from this one
type Output = Nullable<T::Output>
The SQL type of the result of subtracting Rhs
from Self
impl<T> Mul for Nullable<T> where
T: Mul + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
[src]
impl<T> Mul for Nullable<T> where
T: Mul + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
type Rhs = Nullable<T::Rhs>
The SQL type which this can be multiplied by
type Output = Nullable<T::Output>
The SQL type of the result of multiplying Self
by Rhs
impl<T> Div for Nullable<T> where
T: Div + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
[src]
impl<T> Div for Nullable<T> where
T: Div + NotNull,
T::Rhs: NotNull,
T::Output: NotNull,
type Rhs = Nullable<T::Rhs>
The SQL type which this one can be divided by
type Output = Nullable<T::Output>
The SQL type of the result of dividing Self
by Rhs
impl<T: SqlOrd + NotNull> SqlOrd for Nullable<T>
[src]
impl<T: SqlOrd + NotNull> SqlOrd for Nullable<T>
impl<ST: Debug + NotNull> Debug for Nullable<ST>
[src]
impl<ST: Debug + NotNull> Debug for Nullable<ST>
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<ST: Clone + NotNull> Clone for Nullable<ST>
[src]
impl<ST: Clone + NotNull> Clone for Nullable<ST>
fn clone(&self) -> Nullable<ST>
[src]
fn clone(&self) -> Nullable<ST>
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<ST: Copy + NotNull> Copy for Nullable<ST>
[src]
impl<ST: Copy + NotNull> Copy for Nullable<ST>
impl<ST: Default + NotNull> Default for Nullable<ST>
[src]
impl<ST: Default + NotNull> Default for Nullable<ST>
impl<T: NotNull> IntoNullable for Nullable<T>
[src]
impl<T: NotNull> IntoNullable for Nullable<T>
impl<T: NotNull + SingleValue> SingleValue for Nullable<T>
[src]
impl<T: NotNull + SingleValue> SingleValue for Nullable<T>
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a [T]
[src]
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a [T]
type Expression = Bound<Nullable<Array<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b [T]
[src]
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b [T]
type Expression = Bound<Nullable<Array<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for Vec<T>
[src]
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for Vec<T>
type Expression = Bound<Nullable<Array<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a Vec<T>
[src]
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a Vec<T>
type Expression = Bound<Nullable<Array<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b Vec<T>
[src]
impl<'a, 'b, ST, T> AsExpression<Nullable<Array<ST>>> for &'a &'b Vec<T>
type Expression = Bound<Nullable<Array<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for [T] where
[T]: ToSql<Array<ST>, Pg>,
[src]
impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for [T] where
[T]: ToSql<Array<ST>, Pg>,
impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for Vec<T> where
Vec<T>: ToSql<Array<ST>, Pg>,
[src]
impl<ST, T> ToSql<Nullable<Array<ST>>, Pg> for Vec<T> where
Vec<T>: ToSql<Array<ST>, Pg>,
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp
[src]
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr PgTimestamp
type Expression = Bound<Nullable<Timestamp>, 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<Nullable<Timestamp>> for &'expr2 &'expr PgTimestamp
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr PgTimestamp
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for PgTimestamp where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for PgTimestamp where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
impl AsExpression<Nullable<Timestamp>> for PgTimestamp
[src]
impl AsExpression<Nullable<Timestamp>> for PgTimestamp
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp
[src]
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr PgTimestamp
type Expression = Bound<Nullable<Timestamptz>, 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<Nullable<Timestamptz>> for &'expr2 &'expr PgTimestamp
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr PgTimestamp
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for PgTimestamp where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for PgTimestamp where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
impl AsExpression<Nullable<Timestamptz>> for PgTimestamp
[src]
impl AsExpression<Nullable<Timestamptz>> for PgTimestamp
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate
[src]
impl<'expr> AsExpression<Nullable<Date>> for &'expr PgDate
type Expression = Bound<Nullable<Date>, 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<Nullable<Date>> for &'expr2 &'expr PgDate
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr PgDate
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Date>, __DB> for PgDate where
__DB: Backend,
Self: ToSql<Date, __DB>,
[src]
impl<__DB> ToSql<Nullable<Date>, __DB> for PgDate where
__DB: Backend,
Self: ToSql<Date, __DB>,
impl AsExpression<Nullable<Date>> for PgDate
[src]
impl AsExpression<Nullable<Date>> for PgDate
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime
[src]
impl<'expr> AsExpression<Nullable<Time>> for &'expr PgTime
type Expression = Bound<Nullable<Time>, 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<Nullable<Time>> for &'expr2 &'expr PgTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr PgTime
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Time>, __DB> for PgTime where
__DB: Backend,
Self: ToSql<Time, __DB>,
[src]
impl<__DB> ToSql<Nullable<Time>, __DB> for PgTime where
__DB: Backend,
Self: ToSql<Time, __DB>,
impl AsExpression<Nullable<Time>> for PgTime
[src]
impl AsExpression<Nullable<Time>> for PgTime
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval
[src]
impl<'expr> AsExpression<Nullable<Interval>> for &'expr PgInterval
type Expression = Bound<Nullable<Interval>, 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<Nullable<Interval>> for &'expr2 &'expr PgInterval
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Interval>> for &'expr2 &'expr PgInterval
type Expression = Bound<Nullable<Interval>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Interval>, __DB> for PgInterval where
__DB: Backend,
Self: ToSql<Interval, __DB>,
[src]
impl<__DB> ToSql<Nullable<Interval>, __DB> for PgInterval where
__DB: Backend,
Self: ToSql<Interval, __DB>,
impl AsExpression<Nullable<Interval>> for PgInterval
[src]
impl AsExpression<Nullable<Interval>> for PgInterval
type Expression = Bound<Nullable<Interval>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
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]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr PgNumeric
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Numeric>> for &'expr2 &'expr PgNumeric
type Expression = Bound<Nullable<Numeric>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
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 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]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney
[src]
impl<'expr> AsExpression<Nullable<Money>> for &'expr PgMoney
type Expression = Bound<Nullable<Money>, 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<Nullable<Money>> for &'expr2 &'expr PgMoney
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Money>> for &'expr2 &'expr PgMoney
type Expression = Bound<Nullable<Money>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Money>, __DB> for PgMoney where
__DB: Backend,
Self: ToSql<Money, __DB>,
[src]
impl<__DB> ToSql<Nullable<Money>, __DB> for PgMoney where
__DB: Backend,
Self: ToSql<Money, __DB>,
impl AsExpression<Nullable<Money>> for PgMoney
[src]
impl AsExpression<Nullable<Money>> for PgMoney
type Expression = Bound<Nullable<Money>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<ST, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)
[src]
impl<ST, T> AsExpression<Nullable<Range<ST>>> for (Bound<T>, Bound<T>)
type Expression = SqlBound<Nullable<Range<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, ST, T> AsExpression<Nullable<Range<ST>>> for &'a (Bound<T>, Bound<T>)
[src]
impl<'a, ST, T> AsExpression<Nullable<Range<ST>>> for &'a (Bound<T>, Bound<T>)
type Expression = SqlBound<Nullable<Range<ST>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for (Bound<T>, Bound<T>) where
(Bound<T>, Bound<T>): ToSql<Range<ST>, Pg>,
[src]
impl<ST, T> ToSql<Nullable<Range<ST>>, Pg> for (Bound<T>, Bound<T>) where
(Bound<T>, Bound<T>): ToSql<Range<ST>, Pg>,
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime
[src]
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr SystemTime
type Expression = Bound<Nullable<Timestamp>, 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<Nullable<Timestamp>> for &'expr2 &'expr SystemTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr SystemTime
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for SystemTime where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for SystemTime where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
impl AsExpression<Nullable<Timestamp>> for SystemTime
[src]
impl AsExpression<Nullable<Timestamp>> for SystemTime
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
[src]
impl<'expr> AsExpression<Nullable<Date>> for &'expr NaiveDate
type Expression = Bound<Nullable<Date>, 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<Nullable<Date>> for &'expr2 &'expr NaiveDate
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr NaiveDate
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Date>, __DB> for NaiveDate where
__DB: Backend,
Self: ToSql<Date, __DB>,
[src]
impl<__DB> ToSql<Nullable<Date>, __DB> for NaiveDate where
__DB: Backend,
Self: ToSql<Date, __DB>,
impl AsExpression<Nullable<Date>> for NaiveDate
[src]
impl AsExpression<Nullable<Date>> for NaiveDate
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
[src]
impl<'expr> AsExpression<Nullable<Time>> for &'expr NaiveTime
type Expression = Bound<Nullable<Time>, 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<Nullable<Time>> for &'expr2 &'expr NaiveTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr NaiveTime
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Time>, __DB> for NaiveTime where
__DB: Backend,
Self: ToSql<Time, __DB>,
[src]
impl<__DB> ToSql<Nullable<Time>, __DB> for NaiveTime where
__DB: Backend,
Self: ToSql<Time, __DB>,
impl AsExpression<Nullable<Time>> for NaiveTime
[src]
impl AsExpression<Nullable<Time>> for NaiveTime
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime
[src]
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr NaiveDateTime
type Expression = Bound<Nullable<Timestamp>, 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<Nullable<Timestamp>> for &'expr2 &'expr NaiveDateTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr NaiveDateTime
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
impl AsExpression<Nullable<Timestamp>> for NaiveDateTime
[src]
impl AsExpression<Nullable<Timestamp>> for NaiveDateTime
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime
[src]
impl<'expr> AsExpression<Nullable<Timestamptz>> for &'expr NaiveDateTime
type Expression = Bound<Nullable<Timestamptz>, 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<Nullable<Timestamptz>> for &'expr2 &'expr NaiveDateTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr NaiveDateTime
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamptz>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime
[src]
impl AsExpression<Nullable<Timestamptz>> for NaiveDateTime
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime
[src]
impl<'expr> AsExpression<Nullable<Datetime>> for &'expr NaiveDateTime
type Expression = Bound<Nullable<Datetime>, 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<Nullable<Datetime>> for &'expr2 &'expr NaiveDateTime
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Datetime>> for &'expr2 &'expr NaiveDateTime
type Expression = Bound<Nullable<Datetime>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Datetime>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Datetime, __DB>,
[src]
impl<__DB> ToSql<Nullable<Datetime>, __DB> for NaiveDateTime where
__DB: Backend,
Self: ToSql<Datetime, __DB>,
impl AsExpression<Nullable<Datetime>> for NaiveDateTime
[src]
impl AsExpression<Nullable<Datetime>> for NaiveDateTime
type Expression = Bound<Nullable<Datetime>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
[src]
impl<'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr DateTime<Tz>
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
[src]
impl<'expr2, 'expr, Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for &'expr2 &'expr DateTime<Tz>
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<Tz: TimeZone, __DB> ToSql<Nullable<Timestamptz>, __DB> for DateTime<Tz> where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
[src]
impl<Tz: TimeZone, __DB> ToSql<Nullable<Timestamptz>, __DB> for DateTime<Tz> where
__DB: Backend,
Self: ToSql<Timestamptz, __DB>,
impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
[src]
impl<Tz: TimeZone> AsExpression<Nullable<Timestamptz>> for DateTime<Tz>
type Expression = Bound<Nullable<Timestamptz>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<T, DB> HasSqlType<Nullable<T>> for DB where
DB: Backend + HasSqlType<T>,
T: NotNull,
[src]
impl<T, DB> HasSqlType<Nullable<T>> for DB where
DB: Backend + HasSqlType<T>,
T: NotNull,
fn metadata(lookup: &DB::MetadataLookup) -> DB::TypeMetadata
[src]
fn metadata(lookup: &DB::MetadataLookup) -> DB::TypeMetadata
Fetch the metadata for the given type Read more
fn row_metadata(out: &mut Vec<DB::TypeMetadata>, lookup: &DB::MetadataLookup)
[src]
fn row_metadata(out: &mut Vec<DB::TypeMetadata>, lookup: &DB::MetadataLookup)
fn mysql_row_metadata(
out: &mut Vec<(DB::TypeMetadata, IsSigned)>,
lookup: &DB::MetadataLookup
)
[src]
fn mysql_row_metadata(
out: &mut Vec<(DB::TypeMetadata, IsSigned)>,
lookup: &DB::MetadataLookup
)
impl<T> QueryId for Nullable<T> where
T: QueryId + NotNull,
[src]
impl<T> QueryId for Nullable<T> where
T: QueryId + NotNull,
type QueryId = T::QueryId
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
HAS_STATIC_QUERY_ID: bool = <T>::HAS_STATIC_QUERY_ID
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<T, ST, DB> FromSql<Nullable<ST>, DB> for Option<T> where
T: FromSql<ST, DB>,
DB: Backend,
ST: NotNull,
[src]
impl<T, ST, DB> FromSql<Nullable<ST>, DB> for Option<T> where
T: FromSql<ST, DB>,
DB: Backend,
ST: NotNull,
impl<T, ST, DB> Queryable<Nullable<ST>, DB> for Option<T> where
T: Queryable<ST, DB>,
DB: Backend,
Option<T::Row>: FromSqlRow<Nullable<ST>, DB>,
ST: NotNull,
[src]
impl<T, ST, DB> Queryable<Nullable<ST>, DB> for Option<T> where
T: Queryable<ST, DB>,
DB: Backend,
Option<T::Row>: FromSqlRow<Nullable<ST>, DB>,
ST: NotNull,
type Row = Option<T::Row>
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
fn build(row: Self::Row) -> Self
Construct an instance of this type
impl<T, ST, DB> FromSqlRow<Nullable<ST>, DB> for Option<T> where
T: FromSqlRow<ST, DB>,
DB: Backend,
ST: NotNull,
[src]
impl<T, ST, DB> FromSqlRow<Nullable<ST>, DB> for Option<T> where
T: FromSqlRow<ST, DB>,
DB: Backend,
ST: NotNull,
const FIELDS_NEEDED: usize
FIELDS_NEEDED: usize = <T>::FIELDS_NEEDED
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
fn build_from_row<R: Row<DB>>(row: &mut R) -> Result<Self>
[src]
fn build_from_row<R: Row<DB>>(row: &mut R) -> Result<Self>
See the trait documentation.
impl<T, ST, DB> ToSql<Nullable<ST>, DB> for Option<T> where
T: ToSql<ST, DB>,
DB: Backend,
ST: NotNull,
[src]
impl<T, ST, DB> ToSql<Nullable<ST>, DB> for Option<T> where
T: ToSql<ST, DB>,
DB: Backend,
ST: NotNull,
impl<T, ST> AsExpression<Nullable<ST>> for Option<T> where
ST: NotNull,
[src]
impl<T, ST> AsExpression<Nullable<ST>> for Option<T> where
ST: NotNull,
type Expression = Bound<Nullable<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T> where
ST: NotNull,
[src]
impl<'a, T, ST> AsExpression<Nullable<ST>> for &'a Option<T> where
ST: NotNull,
type Expression = Bound<Nullable<ST>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Bool>> for &'expr bool
[src]
impl<'expr> AsExpression<Nullable<Bool>> for &'expr bool
type Expression = Bound<Nullable<Bool>, 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<Nullable<Bool>> for &'expr2 &'expr bool
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Bool>> for &'expr2 &'expr bool
type Expression = Bound<Nullable<Bool>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Bool>, __DB> for bool where
__DB: Backend,
Self: ToSql<Bool, __DB>,
[src]
impl<__DB> ToSql<Nullable<Bool>, __DB> for bool where
__DB: Backend,
Self: ToSql<Bool, __DB>,
impl AsExpression<Nullable<Bool>> for bool
[src]
impl AsExpression<Nullable<Bool>> for bool
type Expression = Bound<Nullable<Bool>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Tinyint>> for &'expr i8
[src]
impl<'expr> AsExpression<Nullable<Tinyint>> for &'expr i8
type Expression = Bound<Nullable<Tinyint>, 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<Nullable<Tinyint>> for &'expr2 &'expr i8
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Tinyint>> for &'expr2 &'expr i8
type Expression = Bound<Nullable<Tinyint>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Tinyint>, __DB> for i8 where
__DB: Backend,
Self: ToSql<Tinyint, __DB>,
[src]
impl<__DB> ToSql<Nullable<Tinyint>, __DB> for i8 where
__DB: Backend,
Self: ToSql<Tinyint, __DB>,
impl AsExpression<Nullable<Tinyint>> for i8
[src]
impl AsExpression<Nullable<Tinyint>> for i8
type Expression = Bound<Nullable<Tinyint>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16
[src]
impl<'expr> AsExpression<Nullable<SmallInt>> for &'expr i16
type Expression = Bound<Nullable<SmallInt>, 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<Nullable<SmallInt>> for &'expr2 &'expr i16
[src]
impl<'expr2, 'expr> AsExpression<Nullable<SmallInt>> for &'expr2 &'expr i16
type Expression = Bound<Nullable<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<SmallInt>, __DB> for i16 where
__DB: Backend,
Self: ToSql<SmallInt, __DB>,
[src]
impl<__DB> ToSql<Nullable<SmallInt>, __DB> for i16 where
__DB: Backend,
Self: ToSql<SmallInt, __DB>,
impl AsExpression<Nullable<SmallInt>> for i16
[src]
impl AsExpression<Nullable<SmallInt>> for i16
type Expression = Bound<Nullable<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32
[src]
impl<'expr> AsExpression<Nullable<Integer>> for &'expr i32
type Expression = Bound<Nullable<Integer>, 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<Nullable<Integer>> for &'expr2 &'expr i32
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Integer>> for &'expr2 &'expr i32
type Expression = Bound<Nullable<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Integer>, __DB> for i32 where
__DB: Backend,
Self: ToSql<Integer, __DB>,
[src]
impl<__DB> ToSql<Nullable<Integer>, __DB> for i32 where
__DB: Backend,
Self: ToSql<Integer, __DB>,
impl AsExpression<Nullable<Integer>> for i32
[src]
impl AsExpression<Nullable<Integer>> for i32
type Expression = Bound<Nullable<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64
[src]
impl<'expr> AsExpression<Nullable<BigInt>> for &'expr i64
type Expression = Bound<Nullable<BigInt>, 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<Nullable<BigInt>> for &'expr2 &'expr i64
[src]
impl<'expr2, 'expr> AsExpression<Nullable<BigInt>> for &'expr2 &'expr i64
type Expression = Bound<Nullable<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<BigInt>, __DB> for i64 where
__DB: Backend,
Self: ToSql<BigInt, __DB>,
[src]
impl<__DB> ToSql<Nullable<BigInt>, __DB> for i64 where
__DB: Backend,
Self: ToSql<BigInt, __DB>,
impl AsExpression<Nullable<BigInt>> for i64
[src]
impl AsExpression<Nullable<BigInt>> for i64
type Expression = Bound<Nullable<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr u16
[src]
impl<'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, 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<Nullable<Unsigned<SmallInt>>> for &'expr2 &'expr u16
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<SmallInt>>> for &'expr2 &'expr u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Unsigned<SmallInt>>, __DB> for u16 where
__DB: Backend,
Self: ToSql<Unsigned<SmallInt>, __DB>,
[src]
impl<__DB> ToSql<Nullable<Unsigned<SmallInt>>, __DB> for u16 where
__DB: Backend,
Self: ToSql<Unsigned<SmallInt>, __DB>,
impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16
[src]
impl AsExpression<Nullable<Unsigned<SmallInt>>> for u16
type Expression = Bound<Nullable<Unsigned<SmallInt>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr u32
[src]
impl<'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr u32
type Expression = Bound<Nullable<Unsigned<Integer>>, 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<Nullable<Unsigned<Integer>>> for &'expr2 &'expr u32
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<Integer>>> for &'expr2 &'expr u32
type Expression = Bound<Nullable<Unsigned<Integer>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Unsigned<Integer>>, __DB> for u32 where
__DB: Backend,
Self: ToSql<Unsigned<Integer>, __DB>,
[src]
impl<__DB> ToSql<Nullable<Unsigned<Integer>>, __DB> for u32 where
__DB: Backend,
Self: ToSql<Unsigned<Integer>, __DB>,
impl AsExpression<Nullable<Unsigned<Integer>>> for u32
[src]
impl AsExpression<Nullable<Unsigned<Integer>>> for u32
type Expression = Bound<Nullable<Unsigned<Integer>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32
[src]
impl<'expr> AsExpression<Nullable<Oid>> for &'expr u32
type Expression = Bound<Nullable<Oid>, 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<Nullable<Oid>> for &'expr2 &'expr u32
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Oid>> for &'expr2 &'expr u32
type Expression = Bound<Nullable<Oid>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Oid>, __DB> for u32 where
__DB: Backend,
Self: ToSql<Oid, __DB>,
[src]
impl<__DB> ToSql<Nullable<Oid>, __DB> for u32 where
__DB: Backend,
Self: ToSql<Oid, __DB>,
impl AsExpression<Nullable<Oid>> for u32
[src]
impl AsExpression<Nullable<Oid>> for u32
type Expression = Bound<Nullable<Oid>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr u64
[src]
impl<'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, 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<Nullable<Unsigned<BigInt>>> for &'expr2 &'expr u64
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Unsigned<BigInt>>> for &'expr2 &'expr u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Unsigned<BigInt>>, __DB> for u64 where
__DB: Backend,
Self: ToSql<Unsigned<BigInt>, __DB>,
[src]
impl<__DB> ToSql<Nullable<Unsigned<BigInt>>, __DB> for u64 where
__DB: Backend,
Self: ToSql<Unsigned<BigInt>, __DB>,
impl AsExpression<Nullable<Unsigned<BigInt>>> for u64
[src]
impl AsExpression<Nullable<Unsigned<BigInt>>> for u64
type Expression = Bound<Nullable<Unsigned<BigInt>>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Float>> for &'expr f32
[src]
impl<'expr> AsExpression<Nullable<Float>> for &'expr f32
type Expression = Bound<Nullable<Float>, 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<Nullable<Float>> for &'expr2 &'expr f32
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Float>> for &'expr2 &'expr f32
type Expression = Bound<Nullable<Float>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Float>, __DB> for f32 where
__DB: Backend,
Self: ToSql<Float, __DB>,
[src]
impl<__DB> ToSql<Nullable<Float>, __DB> for f32 where
__DB: Backend,
Self: ToSql<Float, __DB>,
impl AsExpression<Nullable<Float>> for f32
[src]
impl AsExpression<Nullable<Float>> for f32
type Expression = Bound<Nullable<Float>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Double>> for &'expr f64
[src]
impl<'expr> AsExpression<Nullable<Double>> for &'expr f64
type Expression = Bound<Nullable<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<Nullable<Double>> for &'expr2 &'expr f64
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Double>> for &'expr2 &'expr f64
type Expression = Bound<Nullable<Double>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Double>, __DB> for f64 where
__DB: Backend,
Self: ToSql<Double, __DB>,
[src]
impl<__DB> ToSql<Nullable<Double>, __DB> for f64 where
__DB: Backend,
Self: ToSql<Double, __DB>,
impl AsExpression<Nullable<Double>> for f64
[src]
impl AsExpression<Nullable<Double>> for f64
type Expression = Bound<Nullable<Double>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Text>> for &'expr String
[src]
impl<'expr> AsExpression<Nullable<Text>> for &'expr String
type Expression = Bound<Nullable<Text>, 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<Nullable<Text>> for &'expr2 &'expr String
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Text>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Text>, __DB> for String where
__DB: Backend,
Self: ToSql<Text, __DB>,
[src]
impl<__DB> ToSql<Nullable<Text>, __DB> for String where
__DB: Backend,
Self: ToSql<Text, __DB>,
impl AsExpression<Nullable<Text>> for String
[src]
impl AsExpression<Nullable<Text>> for String
type Expression = Bound<Nullable<Text>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Date>> for &'expr String
[src]
impl<'expr> AsExpression<Nullable<Date>> for &'expr String
type Expression = Bound<Nullable<Date>, 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<Nullable<Date>> for &'expr2 &'expr String
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Date>, __DB> for String where
__DB: Backend,
Self: ToSql<Date, __DB>,
[src]
impl<__DB> ToSql<Nullable<Date>, __DB> for String where
__DB: Backend,
Self: ToSql<Date, __DB>,
impl AsExpression<Nullable<Date>> for String
[src]
impl AsExpression<Nullable<Date>> for String
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Time>> for &'expr String
[src]
impl<'expr> AsExpression<Nullable<Time>> for &'expr String
type Expression = Bound<Nullable<Time>, 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<Nullable<Time>> for &'expr2 &'expr String
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Time>, __DB> for String where
__DB: Backend,
Self: ToSql<Time, __DB>,
[src]
impl<__DB> ToSql<Nullable<Time>, __DB> for String where
__DB: Backend,
Self: ToSql<Time, __DB>,
impl AsExpression<Nullable<Time>> for String
[src]
impl AsExpression<Nullable<Time>> for String
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String
[src]
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr String
type Expression = Bound<Nullable<Timestamp>, 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<Nullable<Timestamp>> for &'expr2 &'expr String
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr String
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for String where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for String where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
impl AsExpression<Nullable<Timestamp>> for String
[src]
impl AsExpression<Nullable<Timestamp>> for String
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Text>> for &'expr str
[src]
impl<'expr> AsExpression<Nullable<Text>> for &'expr str
type Expression = Bound<Nullable<Text>, 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<Nullable<Text>> for &'expr2 &'expr str
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Text>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Text>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Text>, __DB> for str where
__DB: Backend,
Self: ToSql<Text, __DB>,
[src]
impl<__DB> ToSql<Nullable<Text>, __DB> for str where
__DB: Backend,
Self: ToSql<Text, __DB>,
impl<'expr> AsExpression<Nullable<Date>> for &'expr str
[src]
impl<'expr> AsExpression<Nullable<Date>> for &'expr str
type Expression = Bound<Nullable<Date>, 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<Nullable<Date>> for &'expr2 &'expr str
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Date>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Date>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Date>, __DB> for str where
__DB: Backend,
Self: ToSql<Date, __DB>,
[src]
impl<__DB> ToSql<Nullable<Date>, __DB> for str where
__DB: Backend,
Self: ToSql<Date, __DB>,
impl<'expr> AsExpression<Nullable<Time>> for &'expr str
[src]
impl<'expr> AsExpression<Nullable<Time>> for &'expr str
type Expression = Bound<Nullable<Time>, 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<Nullable<Time>> for &'expr2 &'expr str
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Time>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Time>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Time>, __DB> for str where
__DB: Backend,
Self: ToSql<Time, __DB>,
[src]
impl<__DB> ToSql<Nullable<Time>, __DB> for str where
__DB: Backend,
Self: ToSql<Time, __DB>,
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str
[src]
impl<'expr> AsExpression<Nullable<Timestamp>> for &'expr str
type Expression = Bound<Nullable<Timestamp>, 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<Nullable<Timestamp>> for &'expr2 &'expr str
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Timestamp>> for &'expr2 &'expr str
type Expression = Bound<Nullable<Timestamp>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for str where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
[src]
impl<__DB> ToSql<Nullable<Timestamp>, __DB> for str where
__DB: Backend,
Self: ToSql<Timestamp, __DB>,
impl<'expr> AsExpression<Nullable<Binary>> for &'expr Vec<u8>
[src]
impl<'expr> AsExpression<Nullable<Binary>> for &'expr Vec<u8>
type Expression = Bound<Nullable<Binary>, 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<Nullable<Binary>> for &'expr2 &'expr Vec<u8>
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr Vec<u8>
type Expression = Bound<Nullable<Binary>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Binary>, __DB> for Vec<u8> where
__DB: Backend,
Self: ToSql<Binary, __DB>,
[src]
impl<__DB> ToSql<Nullable<Binary>, __DB> for Vec<u8> where
__DB: Backend,
Self: ToSql<Binary, __DB>,
impl AsExpression<Nullable<Binary>> for Vec<u8>
[src]
impl AsExpression<Nullable<Binary>> for Vec<u8>
type Expression = Bound<Nullable<Binary>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<'expr> AsExpression<Nullable<Binary>> for &'expr [u8]
[src]
impl<'expr> AsExpression<Nullable<Binary>> for &'expr [u8]
type Expression = Bound<Nullable<Binary>, 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<Nullable<Binary>> for &'expr2 &'expr [u8]
[src]
impl<'expr2, 'expr> AsExpression<Nullable<Binary>> for &'expr2 &'expr [u8]
type Expression = Bound<Nullable<Binary>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
Perform the conversion
impl<__DB> ToSql<Nullable<Binary>, __DB> for [u8] where
__DB: Backend,
Self: ToSql<Binary, __DB>,
[src]
impl<__DB> ToSql<Nullable<Binary>, __DB> for [u8] where
__DB: Backend,
Self: ToSql<Binary, __DB>,