Struct ilmen_http::http::ParamsHandler
source · pub struct ParamsHandler {
pub params: HashMap<String, String>,
pub body: Option<String>,
}
Fields§
§params: HashMap<String, String>
§body: Option<String>
Trait Implementations§
source§impl From<(HTTPRequest, Route)> for ParamsHandler
impl From<(HTTPRequest, Route)> for ParamsHandler
source§fn from((request, ressource): (HTTPRequest, Route)) -> Self
fn from((request, ressource): (HTTPRequest, Route)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParamsHandler
impl RefUnwindSafe for ParamsHandler
impl Send for ParamsHandler
impl Sync for ParamsHandler
impl Unpin for ParamsHandler
impl UnwindSafe for ParamsHandler
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