pub enum CheckCommand {
Line(String),
Argv(Vec<String>),
}Expand description
A command spar runs itself, before it pushes.
A string is split on whitespace, which covers cargo test and npm test.
A list is taken as it is, for anything that needs an argument with a space
in it. No shell either way: spar runs the program, so nothing here is
interpreted.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CheckCommand
impl Clone for CheckCommand
Source§impl Debug for CheckCommand
impl Debug for CheckCommand
Source§impl Default for CheckCommand
impl Default for CheckCommand
Source§impl<'de> Deserialize<'de> for CheckCommand
impl<'de> Deserialize<'de> for CheckCommand
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 CheckCommand
Source§impl PartialEq for CheckCommand
impl PartialEq for CheckCommand
Source§impl Serialize for CheckCommand
impl Serialize for CheckCommand
impl StructuralPartialEq for CheckCommand
Auto Trait Implementations§
impl Freeze for CheckCommand
impl RefUnwindSafe for CheckCommand
impl Send for CheckCommand
impl Sync for CheckCommand
impl Unpin for CheckCommand
impl UnsafeUnpin for CheckCommand
impl UnwindSafe for CheckCommand
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.