pub struct CiIssue {
pub rule_id: String,
pub description: String,
pub severity: String,
pub path: String,
pub line: u64,
pub end_line: Option<u64>,
pub other_locations: Vec<CiLocation>,
pub fingerprint: String,
pub legacy_fingerprint: Option<String>,
}Expand description
Normalized CodeClimate issue used by CI comment renderers.
Fields§
§rule_id: StringFallow rule identifier, taken from the CodeClimate check_name.
description: StringHuman-readable finding description.
severity: StringCodeClimate severity string, e.g. minor or major.
path: StringFile path relative to the analysed root.
line: u641-based line of the finding.
end_line: Option<u64>Inclusive 1-based end line for range findings.
other_locations: Vec<CiLocation>Other source ranges that provide evidence for this finding.
fingerprint: StringStable finding fingerprint used for comment identity.
legacy_fingerprint: Option<String>The fingerprint an older Fallow release gave this finding, when it is
different from fingerprint. Review comments carry it for one
release, so a thread with the older marker still matches.
Trait Implementations§
impl Eq for CiIssue
impl StructuralPartialEq for CiIssue
Auto Trait Implementations§
impl Freeze for CiIssue
impl RefUnwindSafe for CiIssue
impl Send for CiIssue
impl Sync for CiIssue
impl Unpin for CiIssue
impl UnsafeUnpin for CiIssue
impl UnwindSafe for CiIssue
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.