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)
Tuple Fields
0: bool
Enables to prevent installation flow
Value(String)
Tuple Fields
0: String
The value as string
CrateInfo(InstallCrateInfo)
Tuple Fields
Install crate params
RustupComponentInfo(InstallRustupComponentInfo)
Tuple Fields
Install rustup component params
CargoPluginInfo(InstallCargoPluginInfo)
Tuple Fields
Install cargo plugin info
Trait Implementations
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
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
Mutably borrows from an owned value. Read more