pub enum NullTreatment {
Respect,
Ignore,
}Expand description
v6.4.2 — null treatment on LAG / LEAD / FIRST_VALUE /
LAST_VALUE. PG / ANSI default is Respect — NULLs participate
in the offset walk. Ignore causes the function to skip NULL
values in the argument expression, returning the next non-NULL.
Variants§
Trait Implementations§
Source§impl Clone for NullTreatment
impl Clone for NullTreatment
Source§fn clone(&self) -> NullTreatment
fn clone(&self) -> NullTreatment
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 NullTreatment
Source§impl Debug for NullTreatment
impl Debug for NullTreatment
Source§impl Default for NullTreatment
impl Default for NullTreatment
Source§fn default() -> NullTreatment
fn default() -> NullTreatment
Returns the “default value” for a type. Read more
impl Eq for NullTreatment
Source§impl PartialEq for NullTreatment
impl PartialEq for NullTreatment
Source§fn eq(&self, other: &NullTreatment) -> bool
fn eq(&self, other: &NullTreatment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NullTreatment
Auto Trait Implementations§
impl Freeze for NullTreatment
impl RefUnwindSafe for NullTreatment
impl Send for NullTreatment
impl Sync for NullTreatment
impl Unpin for NullTreatment
impl UnsafeUnpin for NullTreatment
impl UnwindSafe for NullTreatment
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