pub struct EdgeInput {
pub source: String,
pub target: String,
}Expand description
A directed edge between two nodes in a DependencyGraphInput.
source and target reference NodeInput::id values.
§Examples
use sdivi_core::input::EdgeInput;
let e = EdgeInput { source: "src/lib.rs".to_string(), target: "src/models.rs".to_string() };Fields§
§source: StringSource node ID.
target: StringTarget node ID.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeInput
impl<'de> Deserialize<'de> for EdgeInput
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 StructuralPartialEq for EdgeInput
Auto Trait Implementations§
impl Freeze for EdgeInput
impl RefUnwindSafe for EdgeInput
impl Send for EdgeInput
impl Sync for EdgeInput
impl Unpin for EdgeInput
impl UnsafeUnpin for EdgeInput
impl UnwindSafe for EdgeInput
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