pub struct InstallConfig {
pub tool: String,
pub version: String,
pub platform: Platform,
pub install_dir: PathBuf,
pub download_url: Option<String>,
pub method: InstallMethod,
}
Expand description
Tool installation configuration
Fields§
§tool: String
Tool name
version: String
Version to install
platform: Platform
Target platform
install_dir: PathBuf
Installation directory
download_url: Option<String>
Download URL
method: InstallMethod
Installation method
Trait Implementations§
Source§impl Clone for InstallConfig
impl Clone for InstallConfig
Source§fn clone(&self) -> InstallConfig
fn clone(&self) -> InstallConfig
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 moreSource§impl Debug for InstallConfig
impl Debug for InstallConfig
Source§impl<'de> Deserialize<'de> for InstallConfig
impl<'de> Deserialize<'de> for InstallConfig
Source§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 Freeze for InstallConfig
impl RefUnwindSafe for InstallConfig
impl Send for InstallConfig
impl Sync for InstallConfig
impl Unpin for InstallConfig
impl UnwindSafe for InstallConfig
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