pub struct HttpResponse {
pub status: u16,
pub body: Vec<u8>,
}Fields§
§status: u16§body: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Forget for HttpResponse
impl Freeze for HttpResponse
impl Move for HttpResponse
impl RefUnwindSafe for HttpResponse
impl Send for HttpResponsewhere
RawVecInner: Send,
impl Sync for HttpResponsewhere
RawVecInner: Sync,
impl Unpin for HttpResponse
impl UnsafeUnpin for HttpResponse
impl UnwindSafe for HttpResponsewhere
RawVecInner: UnwindSafe,
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