pub struct Phase {Show 13 fields
pub id: String,
pub prompt: String,
pub cwd: Option<String>,
pub depends_on: Vec<String>,
pub check: Vec<CheckSpec>,
pub max_attempts: Option<u32>,
pub timeout_sec: Option<u64>,
pub on_fail: Option<OnFail>,
pub context: Option<String>,
pub env: HashMap<String, String>,
pub budget_usd: Option<f64>,
pub allowed_tools: Option<Vec<String>>,
pub permission_mode: String,
}Expand description
A single phase within a plan.
Fields§
§id: StringKebab-case phase ID, unique within the plan.
prompt: String§cwd: Option<String>§depends_on: Vec<String>§check: Vec<CheckSpec>§max_attempts: Option<u32>§timeout_sec: Option<u64>§on_fail: Option<OnFail>§context: Option<String>§env: HashMap<String, String>§budget_usd: Option<f64>§allowed_tools: Option<Vec<String>>§permission_mode: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Phase
impl<'de> Deserialize<'de> for Phase
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 Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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