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: VersionData
Minecraft version data
asset_index: AssetIndex
Minecraft asset index
libraries_path: PathBuf
Path for libraries
natives_path: PathBuf
Path for native libraries
assets_path: PathBuf
Path for assets
log_configs_path: PathBuf
Path for log configs
minecraft_path: PathBuf
Path for minecraft
parallel_downloads: u16
Number of parallel downloads
download_retries: u16
Number of download retries
verify_downloads: bool
Whether 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§const fn clone_from(&mut self, source: &Self)
const 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