pub struct GraphResult {
pub start: Vec<NodeKey>,
pub rows: Vec<Row>,
pub nodes: Vec<NodeKey>,
pub edges: Vec<usize>,
pub folded: BTreeMap<usize, usize>,
pub summary: Summary,
pub projection: Option<Value>,
pub notes: Vec<String>,
}Expand description
GraphResult is the result of one query.
Fields§
§start: Vec<NodeKey>The node of each start, in the order given.
rows: Vec<Row>One tree for each start. It is empty when a query is given.
nodes: Vec<NodeKey>Every node the tree mentions, in node order.
edges: Vec<usize>Every edge the tree mentions and the inverse of each, in edge order.
folded: BTreeMap<usize, usize>The number of regions of each folded include, or of markers of each folded marker edge, and of its inverse, keyed by edge.
summary: SummaryThe counts of the last line of the text form.
projection: Option<Value>The query result, when one was given.
notes: Vec<String>The notes about the starts, in the order of the starts, which the command prints to standard error (CLI-7_AC-98).
Trait Implementations§
Source§impl Clone for GraphResult
impl Clone for GraphResult
Source§impl Debug for GraphResult
impl Debug for GraphResult
impl Eq for GraphResult
Source§impl PartialEq for GraphResult
impl PartialEq for GraphResult
impl StructuralPartialEq for GraphResult
Auto Trait Implementations§
impl Forget for GraphResult
impl Freeze for GraphResult
impl Move for GraphResult
impl RefUnwindSafe for GraphResult
impl Send for GraphResult
impl Sync for GraphResult
impl Unpin for GraphResult
impl UnsafeUnpin for GraphResult
impl UnwindSafe for GraphResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.