pub enum NullTreatment {
IgnoreNulls,
RespectNulls,
}
Expand description
Specifies Ignore / Respect NULL within window functions.
For example
FIRST_VALUE(column2) IGNORE NULLS OVER (PARTITION BY column1)
Variants§
Trait Implementations§
Source§impl Clone for NullTreatment
impl Clone for NullTreatment
Source§fn clone(&self) -> NullTreatment
fn clone(&self) -> NullTreatment
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 Debug for NullTreatment
impl Debug for NullTreatment
Source§impl<'de> Deserialize<'de> for NullTreatment
impl<'de> Deserialize<'de> for NullTreatment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NullTreatment
impl Display for NullTreatment
Source§impl Hash for NullTreatment
impl Hash for NullTreatment
Source§impl Ord for NullTreatment
impl Ord for NullTreatment
Source§fn cmp(&self, other: &NullTreatment) -> Ordering
fn cmp(&self, other: &NullTreatment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NullTreatment
impl PartialEq for NullTreatment
Source§impl PartialOrd for NullTreatment
impl PartialOrd for NullTreatment
Source§impl Serialize for NullTreatment
impl Serialize for NullTreatment
Source§impl Visit for NullTreatment
impl Visit for NullTreatment
Source§impl VisitMut for NullTreatment
impl VisitMut for NullTreatment
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Copy for NullTreatment
impl Eq for NullTreatment
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 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