pub struct MapProjectionExpr {
pub expr: Expr,
pub items: Vec<MapProjectionItem>,
}Expand description
<variable> <map projection> (n {.foo, bar, baz: qux}): openCypher’s
map projection, syntactically always rooted at a plain variable
(expr is always an Expr::Variable). Needed for CIP-190’s
near-ambiguity coverage: exists {name: exists.name} etc. must parse
as a map projection on a variable named exists, not as
EXISTS { <subquery> }, when the filler between the braces looks like
projection items rather than subquery content (near-ambiguities.feature).
Fields§
§expr: Expr§items: Vec<MapProjectionItem>Trait Implementations§
Source§impl Clone for MapProjectionExpr
impl Clone for MapProjectionExpr
Source§impl Debug for MapProjectionExpr
impl Debug for MapProjectionExpr
Source§impl PartialEq for MapProjectionExpr
impl PartialEq for MapProjectionExpr
impl StructuralPartialEq for MapProjectionExpr
Auto Trait Implementations§
impl Forget for MapProjectionExpr
impl Freeze for MapProjectionExpr
impl Move for MapProjectionExpr
impl RefUnwindSafe for MapProjectionExpr
impl Send for MapProjectionExpr
impl Sync for MapProjectionExpr
impl Unpin for MapProjectionExpr
impl UnsafeUnpin for MapProjectionExpr
impl UnwindSafe for MapProjectionExpr
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