pub struct PlanDecision {
pub action: String,
pub feedback: String,
}Expand description
The user’s decision on a presented plan.
Fields§
§action: StringThe action chosen: "approve_auto", "approve", or "modify".
feedback: StringOptional feedback text (empty unless the user chose to revise).
Trait Implementations§
Source§impl Clone for PlanDecision
impl Clone for PlanDecision
Source§fn clone(&self) -> PlanDecision
fn clone(&self) -> PlanDecision
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 PlanDecision
impl Debug for PlanDecision
Source§impl PartialEq for PlanDecision
impl PartialEq for PlanDecision
impl Eq for PlanDecision
impl StructuralPartialEq for PlanDecision
Auto Trait Implementations§
impl Freeze for PlanDecision
impl RefUnwindSafe for PlanDecision
impl Send for PlanDecision
impl Sync for PlanDecision
impl Unpin for PlanDecision
impl UnsafeUnpin for PlanDecision
impl UnwindSafe for PlanDecision
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