pub struct VerificationReport {
pub bundle_name: String,
pub root: String,
pub obligations: Vec<ObligationReport>,
pub lean_module: Option<ModuleReport>,
}Expand description
Aggregate verification report for a bundle.
Fields§
§bundle_name: String§root: String§obligations: Vec<ObligationReport>§lean_module: Option<ModuleReport>Implementations§
Source§impl VerificationReport
impl VerificationReport
pub fn obligation_count(&self) -> usize
pub fn success_count(&self) -> usize
pub fn failure_count(&self) -> usize
pub fn is_success(&self) -> bool
pub fn to_json(&self) -> String
pub fn to_markdown(&self) -> String
Trait Implementations§
Source§impl Clone for VerificationReport
impl Clone for VerificationReport
Source§fn clone(&self) -> VerificationReport
fn clone(&self) -> VerificationReport
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 moreSource§impl Debug for VerificationReport
impl Debug for VerificationReport
impl Eq for VerificationReport
Source§impl PartialEq for VerificationReport
impl PartialEq for VerificationReport
Source§fn eq(&self, other: &VerificationReport) -> bool
fn eq(&self, other: &VerificationReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerificationReport
Auto Trait Implementations§
impl Freeze for VerificationReport
impl RefUnwindSafe for VerificationReport
impl Send for VerificationReport
impl Sync for VerificationReport
impl Unpin for VerificationReport
impl UnsafeUnpin for VerificationReport
impl UnwindSafe for VerificationReport
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