pub struct EdgeInfo {
pub from: String,
pub to: String,
}Expand description
A direct, unconditional edge from one node to another.
Fields§
§from: StringThe source node id.
to: StringThe target node id.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeInfo
impl<'de> Deserialize<'de> for EdgeInfo
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 Eq for EdgeInfo
Source§impl Ord for EdgeInfo
impl Ord for EdgeInfo
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EdgeInfo
impl PartialOrd for EdgeInfo
impl StructuralPartialEq for EdgeInfo
Auto Trait Implementations§
impl Freeze for EdgeInfo
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnsafeUnpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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