pub enum Command {
Criteria(CriteriaCommand),
Criterialess(Box<CriterialessCommand>),
Raw(String),
}Expand description
A Command that can be added to a CommandList or run directly
Variants§
Criteria(CriteriaCommand)
A Command that contains criteria
Criterialess(Box<CriterialessCommand>)
A Command without Criteria
Raw(String)
Untyped Command
Trait Implementations§
Source§impl From<CriteriaCommand> for Command
impl From<CriteriaCommand> for Command
Source§fn from(original: CriteriaCommand) -> Command
fn from(original: CriteriaCommand) -> Command
Converts to this type from the input type.
Source§impl From<CriterialessCommand> for Command
impl From<CriterialessCommand> for Command
Source§fn from(original: CriterialessCommand) -> Command
fn from(original: CriterialessCommand) -> Command
Converts to this type from the input type.
Source§impl From<SubCommand> for Command
impl From<SubCommand> for Command
Source§fn from(original: SubCommand) -> Command
fn from(original: SubCommand) -> Command
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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