pub struct FlowEdge {
pub id: String,
pub source: String,
pub target: String,
pub source_handle: Option<String>,
pub target_handle: Option<String>,
}Expand description
A directed arc connecting two nodes in a FlowDefinition.
Fields§
§id: StringUnique identifier within the enclosing FlowDefinition.
source: StringThe id of the source FlowNode.
target: StringThe id of the target FlowNode.
source_handle: Option<String>Optional named output port on the source node (multi-output nodes
like CoreNodeType::Branch).
target_handle: Option<String>Optional named input port on the target node.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowEdge
impl<'de> Deserialize<'de> for FlowEdge
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 FlowEdge
Auto Trait Implementations§
impl Freeze for FlowEdge
impl RefUnwindSafe for FlowEdge
impl Send for FlowEdge
impl Sync for FlowEdge
impl Unpin for FlowEdge
impl UnsafeUnpin for FlowEdge
impl UnwindSafe for FlowEdge
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