pub struct LargestContentfulPaint {
pub renderTime: TimeSinceEpoch,
pub loadTime: TimeSinceEpoch,
pub size: f64,
pub elementId: Option<String>,
pub url: Option<String>,
pub nodeId: Option<BackendNodeId>,
}Expand description
See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl
Fields§
§renderTime: TimeSinceEpoch§loadTime: TimeSinceEpoch§size: f64The number of pixels being painted.
elementId: Option<String>The id attribute of the element, if available.
url: Option<String>The URL of the image (may be trimmed).
nodeId: Option<BackendNodeId>Trait Implementations§
Source§impl Clone for LargestContentfulPaint
impl Clone for LargestContentfulPaint
Source§fn clone(&self) -> LargestContentfulPaint
fn clone(&self) -> LargestContentfulPaint
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 moreSource§impl Debug for LargestContentfulPaint
impl Debug for LargestContentfulPaint
Source§impl Default for LargestContentfulPaint
impl Default for LargestContentfulPaint
Source§fn default() -> LargestContentfulPaint
fn default() -> LargestContentfulPaint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LargestContentfulPaint
impl<'de> Deserialize<'de> for LargestContentfulPaint
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 LargestContentfulPaint
impl RefUnwindSafe for LargestContentfulPaint
impl Send for LargestContentfulPaint
impl Sync for LargestContentfulPaint
impl Unpin for LargestContentfulPaint
impl UnsafeUnpin for LargestContentfulPaint
impl UnwindSafe for LargestContentfulPaint
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