pub struct HttpHandler {
pub method: HTTPMethod,
pub body: String,
pub req_param: Option<String>,
}Fields§
§method: HTTPMethod§body: String§req_param: Option<String>Trait Implementations§
Source§impl Clone for HttpHandler
impl Clone for HttpHandler
Auto Trait Implementations§
impl Freeze for HttpHandler
impl RefUnwindSafe for HttpHandler
impl Send for HttpHandler
impl Sync for HttpHandler
impl Unpin for HttpHandler
impl UnsafeUnpin for HttpHandler
impl UnwindSafe for HttpHandler
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