pub struct WowConfigSet {
pub cdn_configs: Vec<CdnConfig>,
pub build_configs: Vec<BuildConfig>,
pub config_dir: PathBuf,
}Expand description
Discovered configuration files for a WoW installation
Fields§
§cdn_configs: Vec<CdnConfig>All discovered CDN configs
build_configs: Vec<BuildConfig>All discovered build configs
config_dir: PathBufDirectory where configs were found
Implementations§
Source§impl WowConfigSet
impl WowConfigSet
Sourcepub fn latest_cdn_config(&self) -> Option<&CdnConfig>
pub fn latest_cdn_config(&self) -> Option<&CdnConfig>
Get the most recent CDN config (if any)
Sourcepub fn latest_build_config(&self) -> Option<&BuildConfig>
pub fn latest_build_config(&self) -> Option<&BuildConfig>
Get the most recent build config (if any)
Sourcepub fn all_archive_hashes(&self) -> Vec<String>
pub fn all_archive_hashes(&self) -> Vec<String>
Get all archive hashes from CDN configs
Sourcepub fn file_index_hashes(&self) -> Vec<String>
pub fn file_index_hashes(&self) -> Vec<String>
Get file index hashes
Trait Implementations§
Source§impl Clone for WowConfigSet
impl Clone for WowConfigSet
Source§fn clone(&self) -> WowConfigSet
fn clone(&self) -> WowConfigSet
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 moreAuto Trait Implementations§
impl Freeze for WowConfigSet
impl RefUnwindSafe for WowConfigSet
impl Send for WowConfigSet
impl Sync for WowConfigSet
impl Unpin for WowConfigSet
impl UnwindSafe for WowConfigSet
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