Struct partiql_value::EqualityValue
source · pub struct EqualityValue<'a, const NULLS_EQUAL: bool, T>(pub &'a T);
Expand description
A wrapper on [T
] that specifies if missing and null values should be equal.
Tuple Fields§
§0: &'a T
Trait Implementations§
source§impl<'a, const GROUP_NULLS: bool> NullableEq for EqualityValue<'a, GROUP_NULLS, Value>
impl<'a, const GROUP_NULLS: bool> NullableEq for EqualityValue<'a, GROUP_NULLS, Value>
source§impl<'a, const NULLS_EQUAL: bool, T: PartialEq> PartialEq<EqualityValue<'a, NULLS_EQUAL, T>> for EqualityValue<'a, NULLS_EQUAL, T>
impl<'a, const NULLS_EQUAL: bool, T: PartialEq> PartialEq<EqualityValue<'a, NULLS_EQUAL, T>> for EqualityValue<'a, NULLS_EQUAL, T>
source§fn eq(&self, other: &EqualityValue<'a, NULLS_EQUAL, T>) -> bool
fn eq(&self, other: &EqualityValue<'a, NULLS_EQUAL, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, const NULLS_EQUAL: bool, T: Eq> Eq for EqualityValue<'a, NULLS_EQUAL, T>
impl<'a, const NULLS_EQUAL: bool, T> StructuralEq for EqualityValue<'a, NULLS_EQUAL, T>
impl<'a, const NULLS_EQUAL: bool, T> StructuralPartialEq for EqualityValue<'a, NULLS_EQUAL, T>
Auto Trait Implementations§
impl<'a, const NULLS_EQUAL: bool, T> RefUnwindSafe for EqualityValue<'a, NULLS_EQUAL, T>where T: RefUnwindSafe,
impl<'a, const NULLS_EQUAL: bool, T> Send for EqualityValue<'a, NULLS_EQUAL, T>where T: Sync,
impl<'a, const NULLS_EQUAL: bool, T> Sync for EqualityValue<'a, NULLS_EQUAL, T>where T: Sync,
impl<'a, const NULLS_EQUAL: bool, T> Unpin for EqualityValue<'a, NULLS_EQUAL, T>
impl<'a, const NULLS_EQUAL: bool, T> UnwindSafe for EqualityValue<'a, NULLS_EQUAL, T>where T: RefUnwindSafe,
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