pub struct Issue {
pub context: String,
pub selectors: Vec<String>,
pub code: String,
pub issue_type: &'static str,
pub type_code: u8,
pub message: String,
pub runner: &'static str,
pub runner_extras: RunnerExtras,
pub recurrence: u32,
pub clip: Option<Clip>,
}
Expand description
Details of the problem
Fields§
§context: String
the context of the issue or raw html
selectors: Vec<String>
the selector to identify the issue with css, xpath, or raw path
code: String
the type of code for the issue
issue_type: &'static str
the type of issue
type_code: u8
the typecode of the issue 0,1,2
message: String
the message of the issue
runner: &'static str
the type of runner
runner_extras: RunnerExtras
extra details for the runner
recurrence: u32
the amount of times the issue appeared
clip: Option<Clip>
the visual position of the element
Implementations§
Trait Implementations§
Source§impl Deserialize<'static> for Issue
impl Deserialize<'static> for Issue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more