pub struct ExitPlanModeRequestedData {
pub actions: Vec<ExitPlanModeAction>,
pub plan_content: String,
pub recommended_action: ExitPlanModeAction,
pub request_id: RequestId,
pub summary: String,
}Expand description
Session event “exit_plan_mode.requested”. Plan approval request with plan content and available user actions
Fields§
§actions: Vec<ExitPlanModeAction>Available actions the user can take
plan_content: StringFull content of the plan file
recommended_action: ExitPlanModeActionRecommended action to preselect for the user
request_id: RequestIdUnique identifier for this request; used to respond via session.respondToExitPlanMode()
summary: StringSummary of the plan that was created
Trait Implementations§
Source§impl Clone for ExitPlanModeRequestedData
impl Clone for ExitPlanModeRequestedData
Source§fn clone(&self) -> ExitPlanModeRequestedData
fn clone(&self) -> ExitPlanModeRequestedData
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 ExitPlanModeRequestedData
impl Debug for ExitPlanModeRequestedData
Source§impl Default for ExitPlanModeRequestedData
impl Default for ExitPlanModeRequestedData
Source§fn default() -> ExitPlanModeRequestedData
fn default() -> ExitPlanModeRequestedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExitPlanModeRequestedData
impl<'de> Deserialize<'de> for ExitPlanModeRequestedData
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 ExitPlanModeRequestedData
impl RefUnwindSafe for ExitPlanModeRequestedData
impl Send for ExitPlanModeRequestedData
impl Sync for ExitPlanModeRequestedData
impl Unpin for ExitPlanModeRequestedData
impl UnsafeUnpin for ExitPlanModeRequestedData
impl UnwindSafe for ExitPlanModeRequestedData
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