pub struct Request {
pub request_line: RequestLine,
pub content_type: Option<String>,
pub user_agent: Option<String>,
pub accept: Option<String>,
pub cache_control: Option<String>,
pub postman_token: Option<String>,
pub host: Option<String>,
pub accept_encoding: Option<String>,
pub connection: Option<String>,
pub content_length: Option<usize>,
pub body: Option<String>,
}
Fields§
§request_line: RequestLine
§content_type: Option<String>
§user_agent: Option<String>
§accept: Option<String>
§cache_control: Option<String>
§postman_token: Option<String>
§host: Option<String>
§accept_encoding: Option<String>
§connection: Option<String>
§content_length: Option<usize>
§body: Option<String>
Implementations§
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