Enum cli::types::InstallCrate
source · [−]pub enum InstallCrate {
Enabled(bool),
Value(String),
CrateInfo(InstallCrateInfo),
RustupComponentInfo(InstallRustupComponentInfo),
CargoPluginInfo(InstallCargoPluginInfo),
}
Expand description
Install crate name or params
Variants
Enabled(bool)
Enables to prevent installation flow
Value(String)
The value as string
CrateInfo(InstallCrateInfo)
Install crate params
RustupComponentInfo(InstallRustupComponentInfo)
Install rustup component params
CargoPluginInfo(InstallCargoPluginInfo)
Install cargo plugin info
Trait Implementations
sourceimpl Clone for InstallCrate
impl Clone for InstallCrate
sourcefn clone(&self) -> InstallCrate
fn clone(&self) -> InstallCrate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstallCrate
impl Debug for InstallCrate
sourceimpl<'de> Deserialize<'de> for InstallCrate
impl<'de> Deserialize<'de> for InstallCrate
sourcefn 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
sourceimpl PartialEq<InstallCrate> for InstallCrate
impl PartialEq<InstallCrate> for InstallCrate
sourcefn eq(&self, other: &InstallCrate) -> bool
fn eq(&self, other: &InstallCrate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for InstallCrate
impl Serialize for InstallCrate
Auto Trait Implementations
impl RefUnwindSafe for InstallCrate
impl Send for InstallCrate
impl Sync for InstallCrate
impl Unpin for InstallCrate
impl UnwindSafe for InstallCrate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more