pub struct Request { /* private fields */ }Expand description
HTTP Request wrapper providing Laravel-like access to request data
Implementations§
Source§impl Request
impl Request
pub fn new(inner: Request<Incoming>) -> Self
pub fn with_params(self, params: HashMap<String, String>) -> Self
Auto Trait Implementations§
impl !Freeze for Request
impl !RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl !UnwindSafe for Request
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