pub struct DecisionPoint {
pub id: DecisionId,
pub name: String,
pub after_step: Option<StepId>,
pub context_template: String,
pub constraints: Vec<String>,
}Expand description
A decision point in the plan where Claude can make runtime decisions
Fields§
§id: DecisionIdUnique identifier for this decision point
name: StringHuman-readable name
after_step: Option<StepId>Step to execute after (if any)
context_template: StringContext template for Claude’s decision
constraints: Vec<String>Constraints on the decision
Implementations§
Source§impl DecisionPoint
impl DecisionPoint
Sourcepub fn new(id: DecisionId, name: impl Into<String>) -> Self
pub fn new(id: DecisionId, name: impl Into<String>) -> Self
Create a new decision point
Trait Implementations§
Source§impl Clone for DecisionPoint
impl Clone for DecisionPoint
Source§fn clone(&self) -> DecisionPoint
fn clone(&self) -> DecisionPoint
Returns a duplicate of the value. Read more
1.0.0 · 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 DecisionPoint
impl Debug for DecisionPoint
Source§impl<'de> Deserialize<'de> for DecisionPoint
impl<'de> Deserialize<'de> for DecisionPoint
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 DecisionPoint
impl RefUnwindSafe for DecisionPoint
impl Send for DecisionPoint
impl Sync for DecisionPoint
impl Unpin for DecisionPoint
impl UnwindSafe for DecisionPoint
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