#[non_exhaustive]pub struct BrowserResponse {
pub status: Option<StatusCode>,
pub headers: HeaderMap,
pub url: Option<Url>,
}Expand description
Navigation response metadata when the provider can expose it.
Providers are allowed to be lossy and may return no response from
BrowserPage::goto. Individual fields may also be unavailable.
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: Option<StatusCode>Final navigation status code, when available.
headers: HeaderMapFinal navigation response headers, when available.
url: Option<Url>Final response URL, including redirects, when available.
Trait Implementations§
Source§impl Clone for BrowserResponse
impl Clone for BrowserResponse
Source§fn clone(&self) -> BrowserResponse
fn clone(&self) -> BrowserResponse
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 moreSource§impl Debug for BrowserResponse
impl Debug for BrowserResponse
Source§impl Default for BrowserResponse
impl Default for BrowserResponse
Source§fn default() -> BrowserResponse
fn default() -> BrowserResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BrowserResponse
impl RefUnwindSafe for BrowserResponse
impl Send for BrowserResponse
impl Sync for BrowserResponse
impl Unpin for BrowserResponse
impl UnsafeUnpin for BrowserResponse
impl UnwindSafe for BrowserResponse
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