Struct accessibility_rs::Issue
source · pub struct Issue {
pub context: String,
pub selectors: Vec<&'static str>,
pub code: String,
pub issue_type: &'static str,
pub type_code: u8,
pub message: &'static str,
pub runner: &'static str,
pub runner_extras: RunnerExtras,
pub recurrence: u32,
pub clip: Option<Clip>,
}Expand description
issue details
Fields§
§context: Stringthe context of the issue or raw html
selectors: Vec<&'static str>the selector to identify the issue with css, xpath, or raw path
code: Stringthe type of code for the issue
issue_type: &'static strthe type of issue
type_code: u8the typecode of the issue 0,1,2
message: &'static strthe message of the issue
runner: &'static strthe type of runner
runner_extras: RunnerExtrasextra details for the runner
recurrence: u32the 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 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