pub struct PageLoadResult {
pub document: Html,
pub load_time: f64,
pub request_count: u32,
pub page_size: u64,
pub is_compressed: bool,
pub has_caching_headers: bool,
pub website_url: Option<String>,
}Expand description
Result of loading a web page
Fields§
§document: HtmlParsed HTML document
load_time: f64Time taken to load the page (in seconds)
request_count: u32Number of HTTP requests made
page_size: u64Size of the page in bytes
is_compressed: boolWhether the page uses compression
has_caching_headers: boolWhether the page has caching headers
website_url: Option<String>Optional website URL
Implementations§
Trait Implementations§
Source§impl Clone for PageLoadResult
impl Clone for PageLoadResult
Source§fn clone(&self) -> PageLoadResult
fn clone(&self) -> PageLoadResult
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 PageLoadResult
impl !RefUnwindSafe for PageLoadResult
impl !Send for PageLoadResult
impl !Sync for PageLoadResult
impl Unpin for PageLoadResult
impl UnsafeUnpin for PageLoadResult
impl UnwindSafe for PageLoadResult
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