Enum partiql_logical::PathComponent
source · pub enum PathComponent {
Key(BindingsName<'static>),
Index(i64),
KeyExpr(Box<ValueExpr>),
IndexExpr(Box<ValueExpr>),
}
Expand description
Represents a path component in a plan.
Variants§
Key(BindingsName<'static>)
E.g. b
in a.b
Index(i64)
E.g. 4 in a[4]
KeyExpr(Box<ValueExpr>)
IndexExpr(Box<ValueExpr>)
Trait Implementations§
source§impl Clone for PathComponent
impl Clone for PathComponent
source§fn clone(&self) -> PathComponent
fn clone(&self) -> PathComponent
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 PathComponent
impl Debug for PathComponent
source§impl PartialEq<PathComponent> for PathComponent
impl PartialEq<PathComponent> for PathComponent
source§fn eq(&self, other: &PathComponent) -> bool
fn eq(&self, other: &PathComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PathComponent
impl StructuralEq for PathComponent
impl StructuralPartialEq for PathComponent
Auto Trait Implementations§
impl RefUnwindSafe for PathComponent
impl Send for PathComponent
impl Sync for PathComponent
impl Unpin for PathComponent
impl UnwindSafe for PathComponent
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