Struct body_image::client::RequestRecord
[−]
[src]
pub struct RequestRecord { /* fields omitted */ }
An http::Request
and recording. Note that other important getter
methods for RequestRecord
are found in trait implementation
RequestRecorded
.
Limitations: This can't be Clone
, because
http::Request<client::hyper::Body>
isn't Clone
.
Methods
impl RequestRecord
[src]
pub fn method(&self) -> &Method
[src]
The HTTP method (verb), e.g. GET
, POST
, etc.
pub fn url(&self) -> &Uri
[src]
The complete URL as used in the request.
pub fn request(&self) -> &Request<Body>
[src]
Return the HTTP request.
Trait Implementations
impl Debug for RequestRecord
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more