pub struct NotNull;
Available on crate features
postgres
and def
only.Expand description
The constraint that a value must not be null
Implementations
Trait Implementations
impl StructuralPartialEq for NotNull
Auto Trait Implementations
impl RefUnwindSafe for NotNull
impl Send for NotNull
impl Sync for NotNull
impl Unpin for NotNull
impl UnwindSafe for NotNull
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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