Struct reqwest::Request [−][src]
pub struct Request { /* fields omitted */ }
Expand description
A request which can be executed with Client::execute()
.
Implementations
impl Request
[src]
impl Request
[src]pub fn method_mut(&mut self) -> &mut Method
[src]
pub fn method_mut(&mut self) -> &mut Method
[src]Get a mutable reference to the method.
pub fn headers_mut(&mut self) -> &mut HeaderMap
[src]
pub fn headers_mut(&mut self) -> &mut HeaderMap
[src]Get a mutable reference to the headers.
pub fn timeout_mut(&mut self) -> &mut Option<Duration>
[src]
pub fn timeout_mut(&mut self) -> &mut Option<Duration>
[src]Get a mutable reference to the timeout.