pub struct Reply {
pub status: i64,
pub headers: Vec<(Arc<str>, Arc<str>)>,
pub body: Arc<str>,
}Expand description
What came back. A status is a reply, not a failure — including a 500.
Fields§
§status: i64§headers: Vec<(Arc<str>, Arc<str>)>§body: Arc<str>Trait Implementations§
impl Eq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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