pub struct TransitionEdge {
pub target: String,
pub condition: TransitionCondition,
pub hint: Option<String>,
pub transform: EdgeTransform,
pub gate: Option<TransitionGate>,
pub stuck: Option<StuckConfig>,
}Expand description
A directed transition edge from one stage to another.
Fields§
§target: StringTarget stage name (derived from the HashMap key during parsing)
condition: TransitionConditionWhen this edge is available
hint: Option<String>Human-readable hint for the LLM
transform: EdgeTransformHow context transforms when crossing this edge
gate: Option<TransitionGate>Preconditions the agent must satisfy before this edge may be followed.
Absent ⇒ the edge is unconditional (beyond its condition).
stuck: Option<StuckConfig>Thresholds arming a TransitionCondition::Stuck edge. Some iff the
condition is Stuck - both the manifest parser and Blueprint::validate
reject the two half-configured shapes.
Trait Implementations§
Source§impl Clone for TransitionEdge
impl Clone for TransitionEdge
Source§fn clone(&self) -> TransitionEdge
fn clone(&self) -> TransitionEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransitionEdge
impl Debug for TransitionEdge
Source§impl<'de> Deserialize<'de> for TransitionEdge
impl<'de> Deserialize<'de> for TransitionEdge
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 TransitionEdge
impl RefUnwindSafe for TransitionEdge
impl Send for TransitionEdge
impl Sync for TransitionEdge
impl Unpin for TransitionEdge
impl UnsafeUnpin for TransitionEdge
impl UnwindSafe for TransitionEdge
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