pub struct BuildConfig {
pub config: ConfigFile,
}
Expand description
Build configuration
Fields§
§config: ConfigFile
Underlying config file
Implementations§
Source§impl BuildConfig
impl BuildConfig
Sourcepub fn root_hash(&self) -> Option<&str>
pub fn root_hash(&self) -> Option<&str>
Get the root file hash (handles both single hash and hash-size formats)
Sourcepub fn encoding_hash(&self) -> Option<&str>
pub fn encoding_hash(&self) -> Option<&str>
Get the encoding file hash (handles both single hash and hash-size formats)
Sourcepub fn install_hash(&self) -> Option<&str>
pub fn install_hash(&self) -> Option<&str>
Get the install manifest hash (handles both single hash and hash-size formats)
Sourcepub fn download_hash(&self) -> Option<&str>
pub fn download_hash(&self) -> Option<&str>
Get the download manifest hash (handles both single hash and hash-size formats)
Sourcepub fn size_hash(&self) -> Option<&str>
pub fn size_hash(&self) -> Option<&str>
Get the size file hash (handles both single hash and hash-size formats)
Sourcepub fn build_name(&self) -> Option<&str>
pub fn build_name(&self) -> Option<&str>
Get the build name
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 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