pub struct UpdatePlanArgs {
pub objective: Option<String>,
pub explanation: Option<String>,
pub plan: Vec<PlanItem>,
}Expand description
Arguments for the update_plan tool.
This is a lightweight progress-display protocol — the tool broadcasts a structured snapshot to the UI and does nothing else.
Fields§
§objective: Option<String>A one-sentence summary of the user’s goal. Optional on subsequent calls — the tool remembers the last objective. Example: “安装 Casdoor 身份认证系统”
explanation: Option<String>Optional explanation of why the plan changed.
plan: Vec<PlanItem>The full plan checklist (replaces any previous display).
Implementations§
Trait Implementations§
Source§impl Clone for UpdatePlanArgs
impl Clone for UpdatePlanArgs
Source§fn clone(&self) -> UpdatePlanArgs
fn clone(&self) -> UpdatePlanArgs
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 UpdatePlanArgs
impl Debug for UpdatePlanArgs
Source§impl<'de> Deserialize<'de> for UpdatePlanArgs
impl<'de> Deserialize<'de> for UpdatePlanArgs
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 UpdatePlanArgs
impl RefUnwindSafe for UpdatePlanArgs
impl Send for UpdatePlanArgs
impl Sync for UpdatePlanArgs
impl Unpin for UpdatePlanArgs
impl UnsafeUnpin for UpdatePlanArgs
impl UnwindSafe for UpdatePlanArgs
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