pub enum ReportFormat {
Pretty,
Ndjson,
Sarif,
}Variants§
Pretty
Single JSON object — suitable for dashboards, CI artefacts.
Ndjson
One Finding JSON object per line — suitable for jq pipelines.
Sarif
SARIF 2.1.0 for SAST tooling integration.
Trait Implementations§
Source§impl Clone for ReportFormat
impl Clone for ReportFormat
Source§fn clone(&self) -> ReportFormat
fn clone(&self) -> ReportFormat
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 ReportFormat
impl Debug for ReportFormat
Source§impl Default for ReportFormat
impl Default for ReportFormat
Source§fn default() -> ReportFormat
fn default() -> ReportFormat
Returns the “default value” for a type. Read more
Source§impl From<CliFormat> for ReportFormat
impl From<CliFormat> for ReportFormat
Source§impl PartialEq for ReportFormat
impl PartialEq for ReportFormat
impl Eq for ReportFormat
impl StructuralPartialEq for ReportFormat
Auto Trait Implementations§
impl Freeze for ReportFormat
impl RefUnwindSafe for ReportFormat
impl Send for ReportFormat
impl Sync for ReportFormat
impl Unpin for ReportFormat
impl UnsafeUnpin for ReportFormat
impl UnwindSafe for ReportFormat
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.