pub struct InstallOptions {
pub version_data: VersionData,
pub asset_index: AssetIndex,
pub libraries_path: PathBuf,
pub natives_path: PathBuf,
pub assets_path: PathBuf,
pub log_configs_path: PathBuf,
pub minecraft_path: PathBuf,
pub parallel_downloads: u16,
pub download_retries: u16,
pub verify_downloads: bool,
}Expand description
Options for installing Minecraft.
Fields§
§version_data: VersionDataMinecraft version data
asset_index: AssetIndexMinecraft asset index
libraries_path: PathBufPath for libraries
natives_path: PathBufPath for native libraries
assets_path: PathBufPath for assets
log_configs_path: PathBufPath for log configs
minecraft_path: PathBufPath for minecraft
parallel_downloads: u16Number of parallel downloads
download_retries: u16Number of download retries
verify_downloads: boolWhether to verify downloads
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
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 InstallOptions
impl Debug for InstallOptions
Source§impl<'de> Deserialize<'de> for InstallOptions
impl<'de> Deserialize<'de> for InstallOptions
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 InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnwindSafe for InstallOptions
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