pub struct ArtifactVerification {
pub source: String,
pub path: String,
pub expected_hash: String,
pub verified: bool,
pub error: Option<String>,
}Expand description
Result of verifying a single artifact file.
Fields§
§source: StringArtifact ID (from the ceremony definition).
path: StringPath where the artifact was written.
expected_hash: StringExpected SHA-256 fingerprint (from transcript).
verified: boolWhether the computed hash matched the expected hash.
error: Option<String>Error description if verification failed.
Trait Implementations§
Source§impl Clone for ArtifactVerification
impl Clone for ArtifactVerification
Source§fn clone(&self) -> ArtifactVerification
fn clone(&self) -> ArtifactVerification
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 ArtifactVerification
impl RefUnwindSafe for ArtifactVerification
impl Send for ArtifactVerification
impl Sync for ArtifactVerification
impl Unpin for ArtifactVerification
impl UnsafeUnpin for ArtifactVerification
impl UnwindSafe for ArtifactVerification
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