pub enum NullHandling {
First,
Last,
}Expand description
Describes how NULL values should be ordered when sorting. We refer to None values returned from PartialOrdBy::partial_cmp_by as NULL. Warning: Rust’s Option::None is not strictly equivalent to SQL’s NULL but we borrow from SQL terminology to handle them.
Variants§
Trait Implementations§
Source§impl Clone for NullHandling
impl Clone for NullHandling
Source§fn clone(&self) -> NullHandling
fn clone(&self) -> NullHandling
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 NullHandling
impl Debug for NullHandling
Source§impl Default for NullHandling
impl Default for NullHandling
Source§fn default() -> NullHandling
fn default() -> NullHandling
Returns the “default value” for a type. Read more
Source§impl PartialEq for NullHandling
impl PartialEq for NullHandling
impl Copy for NullHandling
impl StructuralPartialEq for NullHandling
Auto Trait Implementations§
impl Freeze for NullHandling
impl RefUnwindSafe for NullHandling
impl Send for NullHandling
impl Sync for NullHandling
impl Unpin for NullHandling
impl UnwindSafe for NullHandling
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