pub enum MapProjectionItemKind {
PropertySelector,
Literal,
AllPropertiesSpread,
AllBoundVarsSpread,
}Expand description
The four shapes a map-projection item can take.
Variants§
PropertySelector
.NAME — property selector. Pulls subject.NAME into the
projection under key NAME.
Literal
key: Expr — literal item. Inserts Expr under key key.
AllPropertiesSpread
.* — all-properties spread of the subject.
AllBoundVarsSpread
* — all-bound-vars spread (rare openCypher form).
Trait Implementations§
Source§impl Clone for MapProjectionItemKind
impl Clone for MapProjectionItemKind
Source§fn clone(&self) -> MapProjectionItemKind
fn clone(&self) -> MapProjectionItemKind
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 moreSource§impl Debug for MapProjectionItemKind
impl Debug for MapProjectionItemKind
Source§impl Hash for MapProjectionItemKind
impl Hash for MapProjectionItemKind
Source§impl PartialEq for MapProjectionItemKind
impl PartialEq for MapProjectionItemKind
Source§fn eq(&self, other: &MapProjectionItemKind) -> bool
fn eq(&self, other: &MapProjectionItemKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MapProjectionItemKind
impl Eq for MapProjectionItemKind
impl StructuralPartialEq for MapProjectionItemKind
Auto Trait Implementations§
impl Freeze for MapProjectionItemKind
impl RefUnwindSafe for MapProjectionItemKind
impl Send for MapProjectionItemKind
impl Sync for MapProjectionItemKind
impl Unpin for MapProjectionItemKind
impl UnsafeUnpin for MapProjectionItemKind
impl UnwindSafe for MapProjectionItemKind
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