Struct gitlab_clippy::GitLabCQ[][src]

pub struct GitLabCQ {
    pub description: String,
    pub fingerprint: String,
    pub location: Location,
    pub severity: String,
}

Code Quality report artifact implementing a subset of the Code Climate spec per documentation

Fields

description: String

A description of the code quality violation

fingerprint: String

A unique fingerprint to identify the code quality violation

location: Location

See Location documentation for details

severity: String

The potential impact of the issue found (info, minor, major, critical, or blocker)

Implementations

impl GitLabCQ[src]

pub fn new(message: &str, file: &str, line: usize, severity: &str) -> Self[src]

Easy to use constructor

Trait Implementations

impl Debug for GitLabCQ[src]

impl Serialize for GitLabCQ[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.