Struct diesel::sql_types::is_nullable::IsNullable
source · [−]pub struct IsNullable;
Expand description
Yes, this type can be null
The only diesel provided SqlType
that uses this value is Nullable<T>
Trait Implementations
sourceimpl AllAreNullable<IsNullable> for IsNullable
impl AllAreNullable<IsNullable> for IsNullable
type Out = IsNullable
type Out = IsNullable
See the trait documentation
sourceimpl AllAreNullable<IsNullable> for NotNull
impl AllAreNullable<IsNullable> for NotNull
sourceimpl AllAreNullable<NotNull> for IsNullable
impl AllAreNullable<NotNull> for IsNullable
sourceimpl Clone for IsNullable
impl Clone for IsNullable
sourcefn clone(&self) -> IsNullable
fn clone(&self) -> IsNullable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IsNullable
impl Debug for IsNullable
sourceimpl<O> MaybeNullableType<O> for IsNullablewhere
O: SqlType,
Nullable<O>: TypedExpressionType,
impl<O> MaybeNullableType<O> for IsNullablewhere
O: SqlType,
Nullable<O>: TypedExpressionType,
sourceimpl OneIsNullable<IsNullable> for IsNullable
impl OneIsNullable<IsNullable> for IsNullable
type Out = IsNullable
type Out = IsNullable
See the trait documentation
sourceimpl OneIsNullable<IsNullable> for NotNull
impl OneIsNullable<IsNullable> for NotNull
type Out = IsNullable
type Out = IsNullable
See the trait documentation
sourceimpl OneIsNullable<NotNull> for IsNullable
impl OneIsNullable<NotNull> for IsNullable
type Out = IsNullable
type Out = IsNullable
See the trait documentation
impl Copy for IsNullable
Auto Trait Implementations
impl RefUnwindSafe for IsNullable
impl Send for IsNullable
impl Sync for IsNullable
impl Unpin for IsNullable
impl UnwindSafe for IsNullable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresourcefn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more