pub struct Node {
pub name: String,
pub path: String,
pub node_type: String,
pub description: String,
pub dependencies: Vec<String>,
pub provides: Vec<String>,
pub status: String,
pub build_order: u32,
}
Expand description
Represents a node in the topology graph
Fields§
§name: String
Node name/identifier
path: String
File system path for the node
node_type: String
Type of the node (e.g., “crate”, “service”, “workflow”)
description: String
Human-readable description
dependencies: Vec<String>
List of dependencies (nodes this node depends on)
provides: Vec<String>
List of capabilities this node provides
status: String
Current status (e.g., “active”, “inactive”, “deprecated”)
build_order: u32
Build order for topological sorting
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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