pub struct InstallReport {
pub installed_path: PathBuf,
pub verification_mode: VerificationMode,
}Expand description
Outcome of download_and_install — the installed path plus the
verification mode that was actually exercised. The latter lets the CLI
surface a verificationMode field in its structured-output payload so
downstream consumers can alert on silent SHA256-only fallback.
Fields§
§installed_path: PathBuf§verification_mode: VerificationModeTrait Implementations§
Source§impl Clone for InstallReport
impl Clone for InstallReport
Source§fn clone(&self) -> InstallReport
fn clone(&self) -> InstallReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstallReport
impl RefUnwindSafe for InstallReport
impl Send for InstallReport
impl Sync for InstallReport
impl Unpin for InstallReport
impl UnsafeUnpin for InstallReport
impl UnwindSafe for InstallReport
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