pub struct Issue {
pub issue_type: String,
pub element_snippet: Option<String>,
pub suggested_fix: Option<String>,
pub severity: Severity,
pub fix_example: Option<String>,
pub category: Category,
}Expand description
Represents an accessibility issue found during analysis
Fields§
§issue_type: StringType of issue (e.g., “Missing Alt Text”)
element_snippet: Option<String>HTML snippet where the issue was found
suggested_fix: Option<String>Suggested fix for the issue
severity: SeveritySeverity level of the issue
fix_example: Option<String>Example of how to fix the issue
category: CategoryCategory this issue belongs to
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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