pub struct ActionPlan {
pub targets: Vec<ActionTarget>,
pub confirmed: bool,
pub confirmed_kill: bool,
}Fields§
§targets: Vec<ActionTarget>§confirmed: boolMust be set by the frontend only after the user confirmed exactly this plan.
confirmed_kill: boolRequired in addition to confirmed for Kill.
Trait Implementations§
Source§impl Clone for ActionPlan
impl Clone for ActionPlan
Source§impl Debug for ActionPlan
impl Debug for ActionPlan
Source§impl Default for ActionPlan
impl Default for ActionPlan
Source§impl<'de> Deserialize<'de> for ActionPlanwhere
ActionPlan: Default,
impl<'de> Deserialize<'de> for ActionPlanwhere
ActionPlan: Default,
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
Source§impl PartialEq for ActionPlan
impl PartialEq for ActionPlan
Source§impl Serialize for ActionPlan
impl Serialize for ActionPlan
impl StructuralPartialEq for ActionPlan
Auto Trait Implementations§
impl Forget for ActionPlan
impl Freeze for ActionPlan
impl Move for ActionPlan
impl RefUnwindSafe for ActionPlan
impl Send for ActionPlanwhere
RawVecInner: Send,
impl Sync for ActionPlanwhere
RawVecInner: Sync,
impl Unpin for ActionPlan
impl UnsafeUnpin for ActionPlan
impl UnwindSafe for ActionPlanwhere
RawVecInner: UnwindSafe,
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