pub struct VanguardCommand {
pub name: String,
pub args: Vec<String>,
pub original: String,
}Expand description
A command to be executed by a plugin
Fields§
§name: StringThe name of the command to execute
args: Vec<String>Arguments passed to the command
original: StringOriginal command string
Trait Implementations§
Source§impl Clone for VanguardCommand
impl Clone for VanguardCommand
Source§fn clone(&self) -> VanguardCommand
fn clone(&self) -> VanguardCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 VanguardCommand
impl Debug for VanguardCommand
Source§impl<'de> Deserialize<'de> for VanguardCommand
impl<'de> Deserialize<'de> for VanguardCommand
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 VanguardCommand
impl RefUnwindSafe for VanguardCommand
impl Send for VanguardCommand
impl Sync for VanguardCommand
impl Unpin for VanguardCommand
impl UnwindSafe for VanguardCommand
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