pub struct ServiceResponse {
pub body: ResponseBody,
pub headers: HeaderMap,
pub status: u16,
}Fields§
§body: ResponseBody§headers: HeaderMap§status: u16Implementations§
Trait Implementations§
Source§impl Clone for ServiceResponse
impl Clone for ServiceResponse
Source§impl Debug for ServiceResponse
impl Debug for ServiceResponse
Source§impl PartialEq for ServiceResponse
impl PartialEq for ServiceResponse
impl StructuralPartialEq for ServiceResponse
Auto Trait Implementations§
impl Freeze for ServiceResponse
impl RefUnwindSafe for ServiceResponse
impl Send for ServiceResponse
impl Sync for ServiceResponse
impl Unpin for ServiceResponse
impl UnsafeUnpin for ServiceResponse
impl UnwindSafe for ServiceResponse
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