Struct elastic_requests::HttpRequest
[−]
[src]
pub struct HttpRequest<'a, B> { pub url: Url<'a>, pub method: HttpMethod, pub body: Option<B>, }
A general request type that all endpoints can be converted into.
Fields
url: Url<'a>
method: HttpMethod
body: Option<B>
Trait Implementations
impl<'a, B: Debug> Debug for HttpRequest<'a, B>
[src]
impl<'a, B: PartialEq> PartialEq for HttpRequest<'a, B>
[src]
fn eq(&self, __arg_0: &HttpRequest<'a, B>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HttpRequest<'a, B>) -> bool
[src]
This method tests for !=
.
impl<'a, B: Clone> Clone for HttpRequest<'a, B>
[src]
fn clone(&self) -> HttpRequest<'a, B>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more