pub struct Response {
pub url: String,
pub status: u16,
pub status_text: String,
pub ok: bool,
pub headers: HashMap<String, String>,
}Expand description
Response from navigation operations
Fields§
§url: StringURL of the response
status: u16HTTP status code
status_text: StringHTTP status text
ok: boolWhether the response was successful (status 200-299)
headers: HashMap<String, String>Response headers
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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