pub struct IssueOutputContract {
pub code: &'static str,
pub result_key: &'static str,
pub counts_in_total: bool,
pub summary_label: &'static str,
pub summary_docs_anchor: &'static str,
pub meta_name: &'static str,
pub meta_description: &'static str,
pub meta_docs_path: &'static str,
pub sarif_rule_ids: Vec<String>,
pub codeclimate_check_names: Vec<String>,
pub ts_alias: Option<TsAliasMeta>,
}Expand description
Output-facing contract metadata for a serialized dead-code result row.
Fields§
§code: &'static strCanonical issue code that owns this result array.
result_key: &'static strSerialized AnalysisResults array key that carries this issue row.
counts_in_total: boolWhether result_key contributes to AnalysisResults::total_issues().
summary_label: &'static strLabel used by CI summary tables.
summary_docs_anchor: &'static strDocumentation anchor used by CI summary tables.
meta_name: &'static strHuman-readable name emitted in dead-code _meta.rules.
meta_description: &'static strExplanation emitted in dead-code _meta.rules.
meta_docs_path: &'static strDocumentation path emitted in dead-code _meta.rules.
sarif_rule_ids: Vec<String>SARIF rule ids used by the CLI SARIF formatter for this result row.
codeclimate_check_names: Vec<String>CodeClimate check names used by the CodeClimate formatter.
ts_alias: Option<TsAliasMeta>Published TypeScript alias policy for backwards-compatible bare names.
Trait Implementations§
Source§impl Clone for IssueOutputContract
impl Clone for IssueOutputContract
Source§impl Debug for IssueOutputContract
impl Debug for IssueOutputContract
impl Eq for IssueOutputContract
Source§impl PartialEq for IssueOutputContract
impl PartialEq for IssueOutputContract
impl StructuralPartialEq for IssueOutputContract
Auto Trait Implementations§
impl Freeze for IssueOutputContract
impl RefUnwindSafe for IssueOutputContract
impl Send for IssueOutputContract
impl Sync for IssueOutputContract
impl Unpin for IssueOutputContract
impl UnsafeUnpin for IssueOutputContract
impl UnwindSafe for IssueOutputContract
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.