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§
source§impl AllAreNullable<IsNullable> for IsNullable
impl AllAreNullable<IsNullable> for IsNullable
§type Out = IsNullable
type Out = IsNullable
See the trait documentation
source§impl AllAreNullable<IsNullable> for NotNull
impl AllAreNullable<IsNullable> for NotNull
source§impl AllAreNullable<NotNull> for IsNullable
impl AllAreNullable<NotNull> for IsNullable
source§impl Clone for IsNullable
impl Clone for IsNullable
source§fn clone(&self) -> IsNullable
fn clone(&self) -> IsNullable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IsNullable
impl Debug for IsNullable
source§impl<O> MaybeNullableType<O> for IsNullablewhere
O: SqlType,
Nullable<O>: TypedExpressionType,
impl<O> MaybeNullableType<O> for IsNullablewhere O: SqlType, Nullable<O>: TypedExpressionType,
source§impl OneIsNullable<IsNullable> for IsNullable
impl OneIsNullable<IsNullable> for IsNullable
§type Out = IsNullable
type Out = IsNullable
See the trait documentation
source§impl OneIsNullable<IsNullable> for NotNull
impl OneIsNullable<IsNullable> for NotNull
§type Out = IsNullable
type Out = IsNullable
See the trait documentation
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn 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 moresource§fn 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