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
source§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 IsNullable
impl<O> MaybeNullableType<O> for IsNullable
source§impl OneIsNullable<IsNullable> for IsNullable
impl OneIsNullable<IsNullable> for IsNullable
source§type Out = IsNullable
type Out = IsNullable
See the trait documentation
source§impl OneIsNullable<IsNullable> for NotNull
impl OneIsNullable<IsNullable> for NotNull
source§type Out = IsNullable
type Out = IsNullable
See the trait documentation
source§impl OneIsNullable<NotNull> for IsNullable
impl OneIsNullable<NotNull> for IsNullable
source§type Out = IsNullable
type Out = IsNullable
See the trait documentation
impl Copy for IsNullable
Auto Trait Implementations§
impl Freeze for IsNullable
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)