pub struct WireHttpResponse {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
}Expand description
(status, headers, body) — the established HTTP-door contract across
holger’s backends, carried as one value.
Fields§
§status: u16§headers: Vec<(String, String)>§body: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for WireHttpResponse
impl Clone for WireHttpResponse
Source§fn clone(&self) -> WireHttpResponse
fn clone(&self) -> WireHttpResponse
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 WireHttpResponse
impl Debug for WireHttpResponse
impl Eq for WireHttpResponse
Source§impl PartialEq for WireHttpResponse
impl PartialEq for WireHttpResponse
impl StructuralPartialEq for WireHttpResponse
Auto Trait Implementations§
impl Freeze for WireHttpResponse
impl RefUnwindSafe for WireHttpResponse
impl Send for WireHttpResponse
impl Sync for WireHttpResponse
impl Unpin for WireHttpResponse
impl UnsafeUnpin for WireHttpResponse
impl UnwindSafe for WireHttpResponse
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