#[non_exhaustive]pub struct IssueResultMeta {
pub code: &'static str,
pub sarif_description: &'static str,
pub meta_description: &'static str,
pub meta_docs_path: &'static str,
pub meta_name: &'static str,
pub summary_label: &'static str,
pub docs_anchor: &'static str,
pub result_key: &'static str,
pub counts_in_total: bool,
}Expand description
Shared contract facts for serialized AnalysisResults arrays.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: &'static strCanonical issue code that owns this result array.
sarif_description: &'static strShort SARIF rule description.
meta_description: &'static strExplanation emitted in dead-code _meta.rules.
meta_docs_path: &'static strDocumentation path emitted in dead-code _meta.rules.
meta_name: &'static strHuman-readable name emitted in dead-code _meta.rules.
summary_label: &'static strLabel used by CI summary tables.
docs_anchor: &'static strDocumentation anchor under /explanations/dead-code.
result_key: &'static strSerialized AnalysisResults array key that carries this issue row.
counts_in_total: boolWhether result_key contributes to AnalysisResults::total_issues().
Trait Implementations§
Source§impl Clone for IssueResultMeta
impl Clone for IssueResultMeta
impl Copy for IssueResultMeta
Source§impl Debug for IssueResultMeta
impl Debug for IssueResultMeta
impl Eq for IssueResultMeta
Source§impl PartialEq for IssueResultMeta
impl PartialEq for IssueResultMeta
impl StructuralPartialEq for IssueResultMeta
Auto Trait Implementations§
impl Freeze for IssueResultMeta
impl RefUnwindSafe for IssueResultMeta
impl Send for IssueResultMeta
impl Sync for IssueResultMeta
impl Unpin for IssueResultMeta
impl UnsafeUnpin for IssueResultMeta
impl UnwindSafe for IssueResultMeta
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.