#[non_exhaustive]pub struct RenderedPage {
pub status: u16,
pub final_url: Url,
pub body: String,
pub elapsed_ms: u64,
}Expand description
Page state captured after the backend finished loading and JS
settled. Fed into the same Signal pipeline as a raw HTTP response.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: u16Final HTTP response status (after redirects).
final_url: UrlFinal URL the browser ended up on (after redirects + any client-side navigation).
body: StringOuter HTML of the document at the end of the wait.
elapsed_ms: u64Wall-clock time from fetch entry to Ok/Err, in milliseconds.
Trait Implementations§
Source§impl Clone for RenderedPage
impl Clone for RenderedPage
Source§fn clone(&self) -> RenderedPage
fn clone(&self) -> RenderedPage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RenderedPage
impl RefUnwindSafe for RenderedPage
impl Send for RenderedPage
impl Sync for RenderedPage
impl Unpin for RenderedPage
impl UnsafeUnpin for RenderedPage
impl UnwindSafe for RenderedPage
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