pub enum FieldPresence {
Present(Value),
Missing,
}Expand description
FieldPresence
Result of attempting to read a field from a row during predicate
evaluation. This distinguishes between a missing field and a
present field whose value may be None.
Variants§
Present(Value)
Field exists and has a value (including Value::None).
Missing
Field is not present on the row.
Trait Implementations§
Source§impl Clone for FieldPresence
impl Clone for FieldPresence
Source§fn clone(&self) -> FieldPresence
fn clone(&self) -> FieldPresence
Returns a duplicate 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 FieldPresence
impl Debug for FieldPresence
Source§impl PartialEq for FieldPresence
impl PartialEq for FieldPresence
impl Eq for FieldPresence
impl StructuralPartialEq for FieldPresence
Auto Trait Implementations§
impl Freeze for FieldPresence
impl RefUnwindSafe for FieldPresence
impl Send for FieldPresence
impl Sync for FieldPresence
impl Unpin for FieldPresence
impl UnsafeUnpin for FieldPresence
impl UnwindSafe for FieldPresence
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