#[non_exhaustive]pub struct LoadedManifest {
pub manifest: Manifest,
pub path: PathBuf,
pub dir: PathBuf,
pub sha256: String,
}Expand description
A manifest read from its file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.manifest: ManifestThe manifest.
path: PathBufIts file, absolute.
dir: PathBufIts folder, absolute: ${run.dir}, and the folder its relative paths start from.
sha256: StringThe SHA-256 of its bytes, in lowercase hex.
Trait Implementations§
Source§impl Clone for LoadedManifest
impl Clone for LoadedManifest
Auto Trait Implementations§
impl Freeze for LoadedManifest
impl RefUnwindSafe for LoadedManifest
impl Send for LoadedManifest
impl Sync for LoadedManifest
impl Unpin for LoadedManifest
impl UnsafeUnpin for LoadedManifest
impl UnwindSafe for LoadedManifest
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