Enum NpmCommand
pub enum NpmCommand {
Install,
Ci,
Run,
Test,
Publish,
Pack,
Version,
Audit,
}Expand description
Common npm command labels.
Variants§
Implementations§
§impl NpmCommand
impl NpmCommand
Trait Implementations§
§impl Clone for NpmCommand
impl Clone for NpmCommand
§fn clone(&self) -> NpmCommand
fn clone(&self) -> NpmCommand
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 more§impl Debug for NpmCommand
impl Debug for NpmCommand
§impl FromStr for NpmCommand
impl FromStr for NpmCommand
§type Err = NpmCommandParseError
type Err = NpmCommandParseError
The associated error which can be returned from parsing.
§fn from_str(input: &str) -> Result<NpmCommand, <NpmCommand as FromStr>::Err>
fn from_str(input: &str) -> Result<NpmCommand, <NpmCommand as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for NpmCommand
impl Hash for NpmCommand
§impl Ord for NpmCommand
impl Ord for NpmCommand
§impl PartialEq for NpmCommand
impl PartialEq for NpmCommand
§impl PartialOrd for NpmCommand
impl PartialOrd for NpmCommand
impl Copy for NpmCommand
impl Eq for NpmCommand
impl StructuralPartialEq for NpmCommand
Auto Trait Implementations§
impl Freeze for NpmCommand
impl RefUnwindSafe for NpmCommand
impl Send for NpmCommand
impl Sync for NpmCommand
impl Unpin for NpmCommand
impl UnsafeUnpin for NpmCommand
impl UnwindSafe for NpmCommand
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