pub struct SarifResult {
pub rule_id: String,
pub rule_index: usize,
pub level: String,
pub message: SarifMessage,
pub locations: Vec<SarifLocation>,
}Expand description
SARIF result (a finding)
Fields§
§rule_id: String§rule_index: usize§level: String§message: SarifMessage§locations: Vec<SarifLocation>Trait Implementations§
Source§impl Clone for SarifResult
impl Clone for SarifResult
Source§fn clone(&self) -> SarifResult
fn clone(&self) -> SarifResult
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 SarifResult
impl Debug for SarifResult
Auto Trait Implementations§
impl Freeze for SarifResult
impl RefUnwindSafe for SarifResult
impl Send for SarifResult
impl Sync for SarifResult
impl Unpin for SarifResult
impl UnsafeUnpin for SarifResult
impl UnwindSafe for SarifResult
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