pub struct Report {
pub bundle: String,
pub issues: Vec<Issue>,
pub stats: Stats,
}Expand description
一次校验 / 遍历的完整报告。
Fields§
§bundle: Stringbundle 名称。
issues: Vec<Issue>全部问题,按产生顺序排列。
stats: Stats统计信息。
Implementations§
Source§impl Report
impl Report
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
错误数。
Sourcepub fn warning_count(&self) -> usize
pub fn warning_count(&self) -> usize
告警数。
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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