pub struct VizStylingData {
pub availability: VizAvailability,
pub findings_truncated: Option<usize>,
pub findings: Vec<VizFinding>,
pub score: Option<f64>,
pub grade: Option<String>,
pub confidence: Option<String>,
pub summary: Option<Value>,
}Expand description
Styling findings plus the project-level CSS analytics and score.
Fields§
§availability: VizAvailabilityWhether styling analysis ran, and how many findings it produced.
findings_truncated: Option<usize>Total finding count before the payload was capped.
findings: Vec<VizFinding>The styling findings carried in the payload.
score: Option<f64>Project-level styling score.
grade: Option<String>Letter grade derived from score.
confidence: Option<String>How much evidence the score rests on.
summary: Option<Value>Project-level CSS analytics, rendered as-is by the lens.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VizStylingData
impl RefUnwindSafe for VizStylingData
impl Send for VizStylingData
impl Sync for VizStylingData
impl Unpin for VizStylingData
impl UnsafeUnpin for VizStylingData
impl UnwindSafe for VizStylingData
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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