#[non_exhaustive]pub enum NullsPosition {
First,
Last,
}Expand description
Where nulls are placed relative to non-null values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Source§impl NullsPosition
impl NullsPosition
Sourcepub fn from_token(token: &str) -> Result<Self>
pub fn from_token(token: &str) -> Result<Self>
Parse the wire token ("first" / "last") shared by every binding.
§Errors
CoreError::Sort for any other token.
Trait Implementations§
Source§impl Clone for NullsPosition
impl Clone for NullsPosition
Source§fn clone(&self) -> NullsPosition
fn clone(&self) -> NullsPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NullsPosition
Source§impl Debug for NullsPosition
impl Debug for NullsPosition
impl Eq for NullsPosition
Source§impl PartialEq for NullsPosition
impl PartialEq for NullsPosition
Source§fn eq(&self, other: &NullsPosition) -> bool
fn eq(&self, other: &NullsPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NullsPosition
Auto Trait Implementations§
impl Freeze for NullsPosition
impl RefUnwindSafe for NullsPosition
impl Send for NullsPosition
impl Sync for NullsPosition
impl Unpin for NullsPosition
impl UnsafeUnpin for NullsPosition
impl UnwindSafe for NullsPosition
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