pub struct InspectionResult {
pub total_rules: usize,
pub total_properties: usize,
pub total_selectors: usize,
pub complexity_score: f64,
pub maintainability_score: f64,
pub issues: Vec<String>,
pub recommendations: Vec<String>,
}Expand description
Inspection result
Fields§
§total_rules: usize§total_properties: usize§total_selectors: usize§complexity_score: f64§maintainability_score: f64§issues: Vec<String>§recommendations: Vec<String>Trait Implementations§
Source§impl Clone for InspectionResult
impl Clone for InspectionResult
Source§fn clone(&self) -> InspectionResult
fn clone(&self) -> InspectionResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InspectionResult
impl RefUnwindSafe for InspectionResult
impl Send for InspectionResult
impl Sync for InspectionResult
impl Unpin for InspectionResult
impl UnwindSafe for InspectionResult
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