pub struct BuildConfig {
pub root_ckey: String,
pub encoding_ckey: String,
pub encoding_ekey: String,
pub encoding_size: Vec<u64>,
pub install_ckey: String,
pub install_ekey: String,
pub download_ckey: String,
pub download_ekey: String,
pub build_name: String,
pub build_uid: String,
pub build_product: String,
pub raw: HashMap<String, String>,
}Expand description
Parsed build configuration from a CASC build config file.
Fields like encoding and install contain two space-separated hashes
(content key, then encoding key). Sizes are space-separated integers.
Fields§
§root_ckey: StringContent key (CKey) of the root file.
encoding_ckey: StringContent key (CKey) of the encoding file.
encoding_ekey: StringEncoding key (EKey) of the encoding file.
encoding_size: Vec<u64>Encoding file sizes (content size and encoded size).
install_ckey: StringContent key (CKey) of the install file.
install_ekey: StringEncoding key (EKey) of the install file.
download_ckey: StringContent key (CKey) of the download file.
download_ekey: StringEncoding key (EKey) of the download file.
build_name: StringHuman-readable build name (e.g. "WOW-66192patch12.0.1_Retail").
build_uid: StringBuild UID used for product identification (e.g. "wow").
build_product: StringBuild product name (e.g. "WoW").
raw: HashMap<String, String>Raw key-value store for all fields (including vfs-, patch-, etc.)
Trait Implementations§
Source§impl Clone for BuildConfig
impl Clone for BuildConfig
Source§fn clone(&self) -> BuildConfig
fn clone(&self) -> BuildConfig
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 BuildConfig
impl RefUnwindSafe for BuildConfig
impl Send for BuildConfig
impl Sync for BuildConfig
impl Unpin for BuildConfig
impl UnsafeUnpin for BuildConfig
impl UnwindSafe for BuildConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more