pub struct VerifyOpts {
pub budget_mb: Option<u64>,
pub expect_code: Option<String>,
pub rehash_files: bool,
}Expand description
Options for verify_receipt beyond the receipt text itself.
Fields§
§budget_mb: Option<u64>Budget (MiB) to check the recorded peak against (overrides the recorded one).
expect_code: Option<String>Assert the receipt was built from exactly this commit SHA (prefix match).
rehash_files: boolRe-hash the files at the recorded input/output paths and check their digests.
Trait Implementations§
Source§impl Debug for VerifyOpts
impl Debug for VerifyOpts
Source§impl Default for VerifyOpts
impl Default for VerifyOpts
Source§fn default() -> VerifyOpts
fn default() -> VerifyOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VerifyOpts
impl RefUnwindSafe for VerifyOpts
impl Send for VerifyOpts
impl Sync for VerifyOpts
impl Unpin for VerifyOpts
impl UnsafeUnpin for VerifyOpts
impl UnwindSafe for VerifyOpts
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