pub struct CommandAction {
pub action: String,
pub cmd: String,
}Fields§
§action: String§cmd: StringTrait Implementations§
Source§impl Clone for CommandAction
impl Clone for CommandAction
Source§fn clone(&self) -> CommandAction
fn clone(&self) -> CommandAction
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 CommandAction
impl Debug for CommandAction
Source§impl Default for CommandAction
impl Default for CommandAction
Source§fn default() -> CommandAction
fn default() -> CommandAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommandAction
impl<'de> Deserialize<'de> for CommandAction
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 CommandAction
impl PartialEq for CommandAction
Source§fn eq(&self, other: &CommandAction) -> bool
fn eq(&self, other: &CommandAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandAction
impl Serialize for CommandAction
impl Eq for CommandAction
impl StructuralPartialEq for CommandAction
Auto Trait Implementations§
impl Freeze for CommandAction
impl RefUnwindSafe for CommandAction
impl Send for CommandAction
impl Sync for CommandAction
impl Unpin for CommandAction
impl UnsafeUnpin for CommandAction
impl UnwindSafe for CommandAction
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