pub enum PnpmCommand {
Install,
Add,
Run,
Test,
Exec,
Publish,
}Expand description
Common pnpm command labels.
Variants§
Trait Implementations§
Source§impl Clone for PnpmCommand
impl Clone for PnpmCommand
Source§fn clone(&self) -> PnpmCommand
fn clone(&self) -> PnpmCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PnpmCommand
impl Debug for PnpmCommand
Source§impl FromStr for PnpmCommand
impl FromStr for PnpmCommand
Source§type Err = PnpmTextError
type Err = PnpmTextError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<PnpmCommand, <PnpmCommand as FromStr>::Err>
fn from_str(input: &str) -> Result<PnpmCommand, <PnpmCommand as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PnpmCommand
impl Hash for PnpmCommand
Source§impl Ord for PnpmCommand
impl Ord for PnpmCommand
Source§fn cmp(&self, other: &PnpmCommand) -> Ordering
fn cmp(&self, other: &PnpmCommand) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PnpmCommand
impl PartialEq for PnpmCommand
Source§fn eq(&self, other: &PnpmCommand) -> bool
fn eq(&self, other: &PnpmCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PnpmCommand
impl PartialOrd for PnpmCommand
impl Copy for PnpmCommand
impl Eq for PnpmCommand
impl StructuralPartialEq for PnpmCommand
Auto Trait Implementations§
impl Freeze for PnpmCommand
impl RefUnwindSafe for PnpmCommand
impl Send for PnpmCommand
impl Sync for PnpmCommand
impl Unpin for PnpmCommand
impl UnsafeUnpin for PnpmCommand
impl UnwindSafe for PnpmCommand
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