pub struct Edge {
pub from: String,
pub to: String,
pub direction: EdgeDirection,
pub kind: EdgeKind,
pub label: Option<String>,
}Expand description
A normalized relationship between two nodes.
Fields§
§from: StringLeft or source endpoint identifier.
to: StringRight or target endpoint identifier.
direction: EdgeDirectionEffective directionality.
kind: EdgeKindEffective semantic relationship kind.
label: Option<String>Optional visible edge label.
Trait Implementations§
impl Eq for Edge
impl StructuralPartialEq for Edge
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