pub struct ContractLintReport {
pub results: Vec<AssertionLint>,
pub tree_clean_at_base: bool,
}Expand description
Full lint report for a contract’s command assertions.
Fields§
§results: Vec<AssertionLint>§tree_clean_at_base: boolWhether the tree was clean (no uncommitted changes) at the moment the lint ran — when false, results may not reflect the pristine base.
Implementations§
Source§impl ContractLintReport
impl ContractLintReport
Sourcepub fn suspects(&self) -> Vec<&AssertionLint>
pub fn suspects(&self) -> Vec<&AssertionLint>
Results whose outcome is an author-bug suspect.
Trait Implementations§
Source§impl Clone for ContractLintReport
impl Clone for ContractLintReport
Source§fn clone(&self) -> ContractLintReport
fn clone(&self) -> ContractLintReport
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 ContractLintReport
impl RefUnwindSafe for ContractLintReport
impl Send for ContractLintReport
impl Sync for ContractLintReport
impl Unpin for ContractLintReport
impl UnsafeUnpin for ContractLintReport
impl UnwindSafe for ContractLintReport
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