pub struct GraphNode {
pub name: String,
pub dependency_count: usize,
pub dependent_count: usize,
pub is_root: bool,
}Expand description
A node in the dependency graph
Fields§
§name: StringType name
dependency_count: usizeNumber of types this type depends on
dependent_count: usizeNumber of types that depend on this type
is_root: boolWhether this is a root type (Query, Mutation, Subscription)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnwindSafe for GraphNode
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