pub struct GraphDescribeOutput {
pub name: String,
pub nodes: IndexMap<String, NodeDescribe>,
pub edges: Vec<EdgeDescribe>,
pub subgraphs: Vec<String>,
}Expand description
Top-level describe() output (canonical Appendix B JSON schema).
nodes is insertion-ordered (matches namespace registration
order) — load-bearing for stable serialized output.
Fields§
§name: StringGraph name as set at construction / mount.
nodes: IndexMap<String, NodeDescribe>Local nodes by name.
edges: Vec<EdgeDescribe>Local edges (dep → consumer).
subgraphs: Vec<String>Mounted child names (recurse via Graph::node(child).describe()).
Trait Implementations§
Source§impl Clone for GraphDescribeOutput
impl Clone for GraphDescribeOutput
Source§fn clone(&self) -> GraphDescribeOutput
fn clone(&self) -> GraphDescribeOutput
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 moreSource§impl Debug for GraphDescribeOutput
impl Debug for GraphDescribeOutput
Auto Trait Implementations§
impl Freeze for GraphDescribeOutput
impl RefUnwindSafe for GraphDescribeOutput
impl Send for GraphDescribeOutput
impl Sync for GraphDescribeOutput
impl Unpin for GraphDescribeOutput
impl UnsafeUnpin for GraphDescribeOutput
impl UnwindSafe for GraphDescribeOutput
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