pub struct ExitPlanModeData {
pub summary: String,
pub plan_content: Option<String>,
pub actions: Vec<String>,
pub recommended_action: String,
}Expand description
Data sent by the CLI with an exitPlanMode.request RPC call.
Fields§
§summary: StringMarkdown summary of the plan presented to the user.
plan_content: Option<String>Full plan content (e.g. the plan.md body), if available.
actions: Vec<String>Allowed exit actions (e.g. “interactive”, “autopilot”, “autopilot_fleet”).
recommended_action: StringWhich action the CLI recommends, defaults to “autopilot”.
Trait Implementations§
Source§impl Clone for ExitPlanModeData
impl Clone for ExitPlanModeData
Source§fn clone(&self) -> ExitPlanModeData
fn clone(&self) -> ExitPlanModeData
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 ExitPlanModeData
impl Debug for ExitPlanModeData
Source§impl Default for ExitPlanModeData
impl Default for ExitPlanModeData
Source§impl<'de> Deserialize<'de> for ExitPlanModeData
impl<'de> Deserialize<'de> for ExitPlanModeData
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 ExitPlanModeData
impl RefUnwindSafe for ExitPlanModeData
impl Send for ExitPlanModeData
impl Sync for ExitPlanModeData
impl Unpin for ExitPlanModeData
impl UnsafeUnpin for ExitPlanModeData
impl UnwindSafe for ExitPlanModeData
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