pub struct Unit {
pub dir_name: String,
pub package: String,
pub dir_suffix: String,
pub profile: String,
pub kind: UnitKind,
pub memo_file: String,
pub memo_hash: Option<String>,
pub json: Option<FingerprintJson>,
pub dep_info: Option<PathBuf>,
pub extra_files: Vec<String>,
}Expand description
One parsed .fingerprint/<package>-<16hex>/ directory.
Fields§
§dir_name: Stringserde-102a33f055a8d229
package: Stringserde (dir name minus the 16-hex suffix)
dir_suffix: String102a33f055a8d229 — == the deps/ filename suffix
profile: Stringdebug / release …
kind: UnitKind§memo_file: StringName of the memo file (lib-serde, build-script-build, …)
memo_hash: Option<String>Content of the memo file — the authoritative hash
json: Option<FingerprintJson>§dep_info: Option<PathBuf>§extra_files: Vec<String>Files inside the unit dir (for forensics completeness).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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