pub struct CwvChange {
pub url: String,
pub metric_name: String,
pub old_value: Option<f64>,
pub new_value: Option<f64>,
pub regression: bool,
}Expand description
A Core Web Vitals regression or improvement between crawls.
Fields§
§url: StringThe page URL.
metric_name: StringWhich metric changed (e.g. “LCP”, “CLS”, “INP”, “FCP”, “TTFB”).
old_value: Option<f64>Previous value (p75).
new_value: Option<f64>New value (p75).
regression: boolTrue if the metric worsened by >10%.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CwvChange
impl RefUnwindSafe for CwvChange
impl Send for CwvChange
impl Sync for CwvChange
impl Unpin for CwvChange
impl UnsafeUnpin for CwvChange
impl UnwindSafe for CwvChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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