pub struct FlowSpec {
pub id: Option<FlowId>,
pub name: Option<String>,
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub params: Option<Value>,
}Expand description
A declarative workflow graph.
Fields§
§id: Option<FlowId>Flow identity. None for ephemeral (agent-submitted) flows; the system
assigns an ID at submission time if not provided.
name: Option<String>Human-readable name.
nodes: Vec<Node>Ordered list of nodes in the graph.
edges: Vec<Edge>Directed edges between nodes.
params: Option<Value>Flow-level parameters available to all nodes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowSpec
impl<'de> Deserialize<'de> for FlowSpec
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 FlowSpec
Auto Trait Implementations§
impl Freeze for FlowSpec
impl RefUnwindSafe for FlowSpec
impl Send for FlowSpec
impl Sync for FlowSpec
impl Unpin for FlowSpec
impl UnsafeUnpin for FlowSpec
impl UnwindSafe for FlowSpec
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