pub struct CommandMatcher {
pub program: Vec<String>,
pub argv_prefix: Vec<String>,
pub argv_contains_all: Vec<String>,
}Fields§
§program: Vec<String>§argv_prefix: Vec<String>§argv_contains_all: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for CommandMatcher
impl Clone for CommandMatcher
Source§impl Debug for CommandMatcher
impl Debug for CommandMatcher
Source§impl<'de> Deserialize<'de> for CommandMatcher
impl<'de> Deserialize<'de> for CommandMatcher
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 Eq for CommandMatcher
Source§impl PartialEq for CommandMatcher
impl PartialEq for CommandMatcher
Source§impl Serialize for CommandMatcher
impl Serialize for CommandMatcher
impl StructuralPartialEq for CommandMatcher
Auto Trait Implementations§
impl Freeze for CommandMatcher
impl RefUnwindSafe for CommandMatcher
impl Send for CommandMatcher
impl Sync for CommandMatcher
impl Unpin for CommandMatcher
impl UnsafeUnpin for CommandMatcher
impl UnwindSafe for CommandMatcher
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.