pub struct Report {
pub findings: Vec<Finding>,
pub rules_run: Vec<&'static str>,
pub docs_checked: usize,
pub checked_paths: Option<BTreeSet<String>>,
pub gitlinks: Vec<GitlinkMove>,
pub ratchet: Option<Judged>,
}Fields§
§findings: Vec<Finding>§rules_run: Vec<&'static str>§docs_checked: usize§checked_paths: Option<BTreeSet<String>>D2: the paths a ranged or staged run looked at (changed files and the files of the
documents it checked); None for a full run, which looks at everything.
gitlinks: Vec<GitlinkMove>Gitlinks the change adds or moves, each one event (see Scope.gitlinks).
ratchet: Option<Judged>W1: a full run’s warning counts held against [ratchet] file; None when not judged.
Implementations§
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Reportwhere
*const u8 is !null: Freeze,
PhantomData<Finding>: Freeze,
PhantomData<&'static str>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<GitlinkMove>: Freeze,
*const LeafNode<String, BTreeMap<String, usize>> is !null: Freeze,
PhantomData<Box<(String, BTreeMap<String, usize>)>>: Freeze,
PhantomData<(String, String, usize, usize)>: Freeze,
PhantomData<String>: Freeze,
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Reportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Finding>: UnsafeUnpin,
PhantomData<&'static str>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<GitlinkMove>: UnsafeUnpin,
*const LeafNode<String, BTreeMap<String, usize>> is !null: UnsafeUnpin,
PhantomData<Box<(String, BTreeMap<String, usize>)>>: UnsafeUnpin,
PhantomData<(String, String, usize, usize)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Reportwhere
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BTreeMap<String, BTreeMap<String, usize>>: UnwindSafe,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more