pub struct HttpResponse {
pub status: u16,
pub headers: Vec<Header>,
pub body: String,
}Fields§
§status: u16§headers: Vec<Header>§body: StringTrait Implementations§
Source§impl Clone for HttpResponse
impl Clone for HttpResponse
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 HttpResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Header>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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