pub struct LintEnvelope { /* private fields */ }Expand description
Current lint-command result envelope.
Implementations§
Source§impl LintEnvelope
impl LintEnvelope
Sourcepub fn new(
tool: ToolInfo,
files: Vec<LintFileReport>,
) -> Result<Self, OutputContractError>
pub fn new( tool: ToolInfo, files: Vec<LintFileReport>, ) -> Result<Self, OutputContractError>
Construct a schema-valid lint envelope and derive its summary from the supplied check records.
Trait Implementations§
Source§impl Clone for LintEnvelope
impl Clone for LintEnvelope
Source§fn clone(&self) -> LintEnvelope
fn clone(&self) -> LintEnvelope
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 LintEnvelope
impl Debug for LintEnvelope
Auto Trait Implementations§
impl Freeze for LintEnvelope
impl RefUnwindSafe for LintEnvelope
impl Send for LintEnvelope
impl Sync for LintEnvelope
impl Unpin for LintEnvelope
impl UnsafeUnpin for LintEnvelope
impl UnwindSafe for LintEnvelope
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