pub struct Report {Show 20 fields
pub issues: Vec<Issue>,
pub total_issues: usize,
pub error_count: usize,
pub warning_count: usize,
pub info_count: usize,
pub accessibility_score: u32,
pub seo_score: u32,
pub performance_score: u32,
pub best_practices_score: u32,
pub environment_score: u32,
pub safety_score: u32,
pub compliance_status: String,
pub website_url: Option<String>,
pub page_load_time: f64,
pub request_count: u32,
pub page_size: u64,
pub energy_consumption_kwh: f64,
pub co2_emissions_grams: f64,
pub environmental_rating: String,
pub uses_cdn: bool,
}Expand description
Comprehensive accessibility report
Fields§
§issues: Vec<Issue>List of issues found
total_issues: usizeTotal number of issues
error_count: usizeNumber of error-level issues
warning_count: usizeNumber of warning-level issues
info_count: usizeNumber of info-level issues
accessibility_score: u32Accessibility score (0-100)
seo_score: u32SEO score (0-100)
performance_score: u32Performance score (0-100)
best_practices_score: u32Best practices score (0-100)
environment_score: u32Environment score (0-100)
safety_score: u32Safety score (0-100)
compliance_status: StringOverall compliance status
website_url: Option<String>Website URL that was analyzed
page_load_time: f64Page load time in seconds
request_count: u32Number of HTTP requests
page_size: u64Page size in bytes
energy_consumption_kwh: f64Estimated energy consumption in kWh
co2_emissions_grams: f64Estimated CO₂ emissions in grams
environmental_rating: StringEnvironmental rating
uses_cdn: boolWhether the site uses CDN
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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 Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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