pub struct DepEdge {
pub from: String,
pub to: String,
pub via: Vec<String>,
}Expand description
One recorded dependency edge: from depends on to, justified by the via
labels (e.g. the crates the consumer pulls from the producer). The generic
stand-in for nornir’s CrossRepoEdge.
Fields§
§from: String§to: String§via: Vec<String>Labels justifying the edge (empty is fine). Carried onto a LaidEdge.
Implementations§
Trait Implementations§
impl Eq for DepEdge
impl StructuralPartialEq for DepEdge
Auto Trait Implementations§
impl Freeze for DepEdge
impl RefUnwindSafe for DepEdge
impl Send for DepEdge
impl Sync for DepEdge
impl Unpin for DepEdge
impl UnsafeUnpin for DepEdge
impl UnwindSafe for DepEdge
Blanket Implementations§
impl<T> Allocation for T
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