pub struct UIExitPlanModeResponse {
pub approved: bool,
pub auto_approve_edits: Option<bool>,
pub feedback: Option<String>,
pub selected_action: Option<UIExitPlanModeAction>,
}Expand description
Schema for the UIExitPlanModeResponse type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§approved: boolWhether the plan was approved.
auto_approve_edits: Option<bool>Whether subsequent edits should be auto-approved without confirmation.
feedback: Option<String>Feedback from the user when they declined the plan or requested changes.
selected_action: Option<UIExitPlanModeAction>The action the user selected. Defaults to ‘autopilot’ when autoApproveEdits is true, otherwise ‘interactive’.
Trait Implementations§
Source§impl Clone for UIExitPlanModeResponse
impl Clone for UIExitPlanModeResponse
Source§fn clone(&self) -> UIExitPlanModeResponse
fn clone(&self) -> UIExitPlanModeResponse
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 UIExitPlanModeResponse
impl Debug for UIExitPlanModeResponse
Source§impl Default for UIExitPlanModeResponse
impl Default for UIExitPlanModeResponse
Source§fn default() -> UIExitPlanModeResponse
fn default() -> UIExitPlanModeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UIExitPlanModeResponse
impl<'de> Deserialize<'de> for UIExitPlanModeResponse
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 UIExitPlanModeResponse
impl RefUnwindSafe for UIExitPlanModeResponse
impl Send for UIExitPlanModeResponse
impl Sync for UIExitPlanModeResponse
impl Unpin for UIExitPlanModeResponse
impl UnsafeUnpin for UIExitPlanModeResponse
impl UnwindSafe for UIExitPlanModeResponse
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