pub struct PathResolutionInfo {
pub target_node: Arc<StaticNode>,
pub nodegroup_id: String,
pub parent_nodegroup_id: Option<String>,
pub child_node_ids: Vec<String>,
pub is_single: bool,
}Expand description
The result of resolving a dot-separated path through the graph model.
Contains everything needed to build a PseudoList from the tile store: the target node, its nodegroup, the child node IDs (for PseudoValueCore), and cardinality.
Fields§
§target_node: Arc<StaticNode>The node at the end of the path
nodegroup_id: StringThe nodegroup the target node belongs to
parent_nodegroup_id: Option<String>The nodegroup of the parent (penultimate) node in the path, if any
child_node_ids: Vec<String>Child node IDs of the target (from edges)
is_single: boolWhether this node is single-cardinality
Trait Implementations§
Source§impl Clone for PathResolutionInfo
impl Clone for PathResolutionInfo
Source§fn clone(&self) -> PathResolutionInfo
fn clone(&self) -> PathResolutionInfo
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 moreAuto Trait Implementations§
impl Freeze for PathResolutionInfo
impl RefUnwindSafe for PathResolutionInfo
impl Send for PathResolutionInfo
impl Sync for PathResolutionInfo
impl Unpin for PathResolutionInfo
impl UnsafeUnpin for PathResolutionInfo
impl UnwindSafe for PathResolutionInfo
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