pub struct HttpReply {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body: HttpReplyBody,
}Expand description
The HTTP response that HttpConsumer sends back to the Axum handler.
Internal plumbing — subject to change without notice.
Fields§
§status: u16§headers: Vec<(String, String)>§body: HttpReplyBodyAuto Trait Implementations§
impl !Freeze for HttpReply
impl !RefUnwindSafe for HttpReply
impl !Sync for HttpReply
impl !UnwindSafe for HttpReply
impl Send for HttpReply
impl Unpin for HttpReply
impl UnsafeUnpin for HttpReply
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