pub struct HttpReply {
pub status: u16,
pub retry_after: Option<String>,
pub body: Vec<u8>,
}Expand description
What came back.
Fields§
§status: u16§retry_after: Option<String>The Retry-After value, verbatim; recorded, never slept on.
body: Vec<u8>Trait Implementations§
impl Eq for HttpReply
impl StructuralPartialEq for HttpReply
Auto Trait Implementations§
impl Freeze for HttpReply
impl RefUnwindSafe for HttpReply
impl Send for HttpReply
impl Sync for HttpReply
impl Unpin for HttpReply
impl UnsafeUnpin for HttpReply
impl UnwindSafe for HttpReply
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