pub struct PathBuild {
pub input: PlanNodeId,
pub output: VarId,
pub node_vars: Vec<VarId>,
pub rel_vars: Vec<VarId>,
pub shortest_path_all: Option<bool>,
}Expand description
Assembles a path value from matched node and relationship VarIds.
Fields§
§input: PlanNodeId§output: VarIdVarId to store the assembled path.
node_vars: Vec<VarId>Node VarIds in order: head, chain[0].node, chain[1].node, …
rel_vars: Vec<VarId>Relationship VarIds in order: chain[0].rel, chain[1].rel, …
shortest_path_all: Option<bool>None = normal path, Some(false) = shortestPath, Some(true) = allShortestPaths
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathBuild
impl RefUnwindSafe for PathBuild
impl Send for PathBuild
impl Sync for PathBuild
impl Unpin for PathBuild
impl UnsafeUnpin for PathBuild
impl UnwindSafe for PathBuild
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