pub struct HttpStatus {
pub redirected: bool,
pub size: usize,
pub status: u16,
pub status_text: String,
}Expand description
Represents the final result of a HTTP request
Fields§
§redirected: boolIndicates if the HTTP request was redirected to another URL / server
size: usizeSize of the data held in the response receiver
status: u16Status code returned by the server
status_text: StringStatus text returned by the server
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpStatus
impl RefUnwindSafe for HttpStatus
impl Send for HttpStatus
impl Sync for HttpStatus
impl Unpin for HttpStatus
impl UnsafeUnpin for HttpStatus
impl UnwindSafe for HttpStatus
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