pub struct InstallCommand {
pub command: String,
pub args: Vec<String>,
pub pipe_to: Option<String>,
pub description: String,
pub requires_npm: bool,
pub requires_sudo: bool,
}Expand description
Installation command structure for compatibility with existing code
Fields§
§command: String§args: Vec<String>§pipe_to: Option<String>§description: String§requires_npm: bool§requires_sudo: boolTrait Implementations§
Source§impl Clone for InstallCommand
impl Clone for InstallCommand
Source§fn clone(&self) -> InstallCommand
fn clone(&self) -> InstallCommand
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 moreAuto Trait Implementations§
impl Freeze for InstallCommand
impl RefUnwindSafe for InstallCommand
impl Send for InstallCommand
impl Sync for InstallCommand
impl Unpin for InstallCommand
impl UnwindSafe for InstallCommand
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