pub struct RequestBits {
pub method: String,
pub url_path: String,
pub client_ip: String,
pub origin: Option<String>,
}Expand description
The plain request view the response-side pass reads: method, path,
resolved client identity, and the Origin header when the request
carried one.
Fields§
§method: StringThe HTTP method.
url_path: StringThe request path (query included when present).
client_ip: StringThe resolved client identity (empty when the connection carries none, e.g. a unix-socket listener).
origin: Option<String>The Origin header value.
Trait Implementations§
Source§impl Clone for RequestBits
impl Clone for RequestBits
Source§impl Debug for RequestBits
impl Debug for RequestBits
Auto Trait Implementations§
impl Freeze for RequestBits
impl RefUnwindSafe for RequestBits
impl Send for RequestBits
impl Sync for RequestBits
impl Unpin for RequestBits
impl UnsafeUnpin for RequestBits
impl UnwindSafe for RequestBits
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