pub struct ApplySkillActivationCommand {
pub activate: Vec<SkillActivation>,
pub deactivate: Vec<String>,
}Expand description
§13.2 · skill activation state. Both directions in one command so a swap is atomic.
Fields§
§activate: Vec<SkillActivation>§deactivate: Vec<String>Skill names to deactivate. Errs open: not-active is a no-op.
Trait Implementations§
Source§impl Clone for ApplySkillActivationCommand
impl Clone for ApplySkillActivationCommand
Source§fn clone(&self) -> ApplySkillActivationCommand
fn clone(&self) -> ApplySkillActivationCommand
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 ApplySkillActivationCommand
impl Debug for ApplySkillActivationCommand
Source§impl Default for ApplySkillActivationCommand
impl Default for ApplySkillActivationCommand
Source§fn default() -> ApplySkillActivationCommand
fn default() -> ApplySkillActivationCommand
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplySkillActivationCommand
impl<'de> Deserialize<'de> for ApplySkillActivationCommand
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
impl StructuralPartialEq for ApplySkillActivationCommand
Auto Trait Implementations§
impl Freeze for ApplySkillActivationCommand
impl RefUnwindSafe for ApplySkillActivationCommand
impl Send for ApplySkillActivationCommand
impl Sync for ApplySkillActivationCommand
impl Unpin for ApplySkillActivationCommand
impl UnsafeUnpin for ApplySkillActivationCommand
impl UnwindSafe for ApplySkillActivationCommand
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