pub struct CodeClimateIssue {
pub kind: CodeClimateIssueKind,
pub check_name: String,
pub description: String,
pub categories: Vec<String>,
pub severity: CodeClimateSeverity,
pub fingerprint: String,
pub location: CodeClimateLocation,
pub other_locations: Vec<CodeClimateLocation>,
pub owner: Option<String>,
pub group: Option<String>,
pub legacy_fingerprint: Option<String>,
}Expand description
Single CodeClimate-compatible issue inside CodeClimateOutput.
Fields§
§kind: CodeClimateIssueKindCodeClimate type discriminator; always issue.
check_name: StringFallow rule identifier, e.g. fallow/unused-file.
description: StringHuman-readable finding description.
categories: Vec<String>CodeClimate category labels, e.g. Clarity or Duplication.
severity: CodeClimateSeverityCodeClimate severity mapped from the configured rule severity.
fingerprint: StringStable finding fingerprint GitLab uses to track issues across pushes.
location: CodeClimateLocationFile and inclusive line range of the finding.
other_locations: Vec<CodeClimateLocation>Other source locations that provide evidence for the finding. GitLab’s Code Quality widget ignores this standard CodeClimate field, but Fallow preserves it for review-comment rendering.
owner: Option<String>Optional owner attribution used by grouped dead-code output.
group: Option<String>Optional grouping attribution used by grouped health and duplication output.
legacy_fingerprint: Option<String>The fingerprint an older Fallow version gave this issue, when it is
different from fingerprint. Never serialized: the CodeClimate wire
shape does not change. The review layer uses it for one release to
match review threads that carry the older marker.