pub struct CodeClimateIssueInput<'a> {
pub check_name: &'a str,
pub description: &'a str,
pub severity: CodeClimateSeverity,
pub category: &'a str,
pub path: &'a str,
pub begin_line: Option<u32>,
pub fingerprint: &'a str,
}Expand description
Fields needed to build one CodeClimate issue.
Callers decide what should be reported. This crate owns how that decision is shaped into the stable CodeClimate / GitLab Code Quality wire contract.
Fields§
§check_name: &'a strFallow rule identifier for the issue’s check_name.
description: &'a strHuman-readable finding description.
severity: CodeClimateSeverityCodeClimate severity to report.
category: &'a strSingle CodeClimate category label; wrapped into categories.
path: &'a strFile path relative to the analysed root.
begin_line: Option<u32>1-based begin line; defaults to line 1 when absent.
fingerprint: &'a strStable finding fingerprint.
Trait Implementations§
Source§impl<'a> Clone for CodeClimateIssueInput<'a>
impl<'a> Clone for CodeClimateIssueInput<'a>
impl<'a> Copy for CodeClimateIssueInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for CodeClimateIssueInput<'a>
impl<'a> RefUnwindSafe for CodeClimateIssueInput<'a>
impl<'a> Send for CodeClimateIssueInput<'a>
impl<'a> Sync for CodeClimateIssueInput<'a>
impl<'a> Unpin for CodeClimateIssueInput<'a>
impl<'a> UnsafeUnpin for CodeClimateIssueInput<'a>
impl<'a> UnwindSafe for CodeClimateIssueInput<'a>
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