#[non_exhaustive]pub enum UnionOperator {
Default,
All,
Distinct,
}Expand description
Duplicate handling for a query union.
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.
Default
Bare UNION, whose duplicate behavior is the openCypher default.
All
UNION ALL.
Distinct
UNION DISTINCT.
Trait Implementations§
Source§impl Clone for UnionOperator
impl Clone for UnionOperator
impl Copy for UnionOperator
Source§impl Debug for UnionOperator
impl Debug for UnionOperator
Source§impl<'de> Deserialize<'de> for UnionOperator
impl<'de> Deserialize<'de> for UnionOperator
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
impl Eq for UnionOperator
Source§impl Hash for UnionOperator
impl Hash for UnionOperator
Source§impl PartialEq for UnionOperator
impl PartialEq for UnionOperator
Source§impl Serialize for UnionOperator
impl Serialize for UnionOperator
impl StructuralPartialEq for UnionOperator
Auto Trait Implementations§
impl Freeze for UnionOperator
impl RefUnwindSafe for UnionOperator
impl Send for UnionOperator
impl Sync for UnionOperator
impl Unpin for UnionOperator
impl UnsafeUnpin for UnionOperator
impl UnwindSafe for UnionOperator
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