pub struct EdgeRef {
pub source: String,
pub target: String,
pub kind: String,
}Expand description
One edge, by node id — the diffable form.
Fields§
§source: StringSource node id.
target: StringTarget node id.
kind: Stringdata or control.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeRef
impl<'de> Deserialize<'de> for EdgeRef
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
Source§impl Ord for EdgeRef
impl Ord for EdgeRef
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 EdgeRef
impl PartialOrd for EdgeRef
impl Eq for EdgeRef
impl StructuralPartialEq for EdgeRef
Auto Trait Implementations§
impl Freeze for EdgeRef
impl RefUnwindSafe for EdgeRef
impl Send for EdgeRef
impl Sync for EdgeRef
impl Unpin for EdgeRef
impl UnsafeUnpin for EdgeRef
impl UnwindSafe for EdgeRef
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