Struct cobble_core::minecraft::InstallOptions
source · 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 copy 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