pub enum MissingOrNull<T> {
Missing,
Null,
Value(T),
}
Variants§
Implementations§
Source§impl<T> MissingOrNull<T>
impl<T> MissingOrNull<T>
Trait Implementations§
Source§impl<T: Clone> Clone for MissingOrNull<T>
impl<T: Clone> Clone for MissingOrNull<T>
Source§fn clone(&self) -> MissingOrNull<T>
fn clone(&self) -> MissingOrNull<T>
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<T: Debug> Debug for MissingOrNull<T>
impl<T: Debug> Debug for MissingOrNull<T>
Source§impl<T> Default for MissingOrNull<T>
impl<T> Default for MissingOrNull<T>
Source§impl<T> From<MissingOrNull<T>> for Option<T>
impl<T> From<MissingOrNull<T>> for Option<T>
Source§fn from(value: MissingOrNull<T>) -> Option<T>
fn from(value: MissingOrNull<T>) -> Option<T>
Converts to this type from the input type.
Source§impl<T> From<Option<T>> for MissingOrNull<T>
impl<T> From<Option<T>> for MissingOrNull<T>
Source§impl<T: PartialEq> PartialEq for MissingOrNull<T>
impl<T: PartialEq> PartialEq for MissingOrNull<T>
impl<T: Copy> Copy for MissingOrNull<T>
impl<T> StructuralPartialEq for MissingOrNull<T>
Auto Trait Implementations§
impl<T> Freeze for MissingOrNull<T>where
T: Freeze,
impl<T> RefUnwindSafe for MissingOrNull<T>where
T: RefUnwindSafe,
impl<T> Send for MissingOrNull<T>where
T: Send,
impl<T> Sync for MissingOrNull<T>where
T: Sync,
impl<T> Unpin for MissingOrNull<T>where
T: Unpin,
impl<T> UnwindSafe for MissingOrNull<T>where
T: UnwindSafe,
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