Struct elastic_requests::HttpRequest [] [src]

pub struct HttpRequest<'a> {
    pub url: Cow<'a, Url<'a>>,
    pub method: HttpMethod,
    pub body: Option<Cow<'a, Body<'a>>>,
}

Fields

Trait Implementations

impl<'a> Debug for HttpRequest<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for HttpRequest<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Clone for HttpRequest<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more