pub struct GraphEdge {
pub from: String,
pub to: String,
pub dependency_type: DependencyType,
pub metadata: HashMap<String, String>,
}Expand description
An edge in the dependency graph representing a dependency relationship.
Connects services that depend on each other, with optional metadata about the relationship type and strength.
Fields§
§from: StringSource node ID (the service that depends on another)
to: StringTarget node ID (the service being depended upon)
dependency_type: DependencyTypeType of dependency (required, optional, multiple, etc.)
metadata: HashMap<String, String>Additional metadata about this relationship
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnwindSafe for GraphEdge
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