pub struct Edge {
pub source: String,
pub target: String,
pub link: Option<String>,
pub parser: String,
}Fields§
§source: String§target: StringNode identity — always matches a key in graph.nodes (or is a dangling target).
Fragment-stripped: bar.md, not bar.md#heading.
link: Option<String>Original link when it differs from target (e.g., bar.md#heading).
Absent when the link resolved to exactly the node ID.
parser: StringWhich parser discovered this edge (provenance).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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