pub struct NewEdge {
pub from: Key<Option<Hash>>,
pub to: Key<Option<Hash>>,
pub introduced_by: Option<Hash>,
}
Expand description
Options are for when this edge is between vertices introduced by the current patch.
Fields§
§from: Key<Option<Hash>>
§to: Key<Option<Hash>>
§introduced_by: Option<Hash>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewEdge
impl<'de> Deserialize<'de> for NewEdge
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
Auto Trait Implementations§
impl Freeze for NewEdge
impl RefUnwindSafe for NewEdge
impl Send for NewEdge
impl Sync for NewEdge
impl Unpin for NewEdge
impl UnwindSafe for NewEdge
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