Struct vertx_rust::http::Request
source · pub struct Request {
pub request: Request<Body>,
pub request_timestamp: DateTime<Local>,
pub body: Vec<u8>,
/* private fields */
}
Fields§
§request: Request<Body>
§request_timestamp: DateTime<Local>
§body: Vec<u8>
Implementations§
source§impl Request
impl Request
pub fn path_value(&self, key: &str) -> Option<&String>
pub fn path_iter(&self) -> Iter<'_, String, String>
pub fn into_body(self) -> Body
pub fn method(&self) -> &Method
pub fn uri(&self) -> &Uri
pub fn version(&self) -> Version
pub fn headers(&self) -> &HeaderMap<HeaderValue>
pub fn extensions(&self) -> &Extensions
pub fn body(&self) -> &Body
Auto Trait Implementations§
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