pub struct WorkspaceReport {
pub scanned_files: usize,
pub files_with_violations: usize,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§scanned_files: usize§files_with_violations: usize§diagnostics: Vec<Diagnostic>Implementations§
Source§impl WorkspaceReport
impl WorkspaceReport
pub fn error_count(&self) -> usize
pub fn warning_count(&self) -> usize
pub fn policy_violation_count(&self) -> usize
Trait Implementations§
Source§impl Clone for WorkspaceReport
impl Clone for WorkspaceReport
Source§fn clone(&self) -> WorkspaceReport
fn clone(&self) -> WorkspaceReport
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkspaceReport
impl Debug for WorkspaceReport
Source§impl PartialEq for WorkspaceReport
impl PartialEq for WorkspaceReport
Source§impl Serialize for WorkspaceReport
impl Serialize for WorkspaceReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for WorkspaceReport
impl StructuralPartialEq for WorkspaceReport
Auto Trait Implementations§
impl Freeze for WorkspaceReport
impl RefUnwindSafe for WorkspaceReport
impl Send for WorkspaceReport
impl Sync for WorkspaceReport
impl Unpin for WorkspaceReport
impl UnsafeUnpin for WorkspaceReport
impl UnwindSafe for WorkspaceReport
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