pub enum Format {
Text,
Markdown,
Json,
Sarif,
PrComment,
}Variants§
Text
Markdown
Json
Sarif
SARIF v2.1.0 — the format GitHub code scanning, GitLab, Sonar,
and every major scanner UI consumes. Emit this from CI and
upload via github/codeql-action/upload-sarif (or equivalent)
to get inline-on-PR-diff annotations for free.
PrComment
Markdown optimized for GitHub PR comments — collapsed
<details> per severity, compact tables instead of bullets,
no verification checklist. Pair with an action that posts
the output as a sticky PR comment.
Trait Implementations§
impl Copy for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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