Enum elastic::client::requests::HttpMethod
[−]
pub enum HttpMethod { Head, Get, Post, Put, Delete, Patch, }
A standard HTTP verb.
Variants
Head
Get
Post
Put
Delete
Patch
Trait Implementations
impl PartialEq<HttpMethod> for HttpMethod
fn eq(&self, __arg_0: &HttpMethod) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for HttpMethod
fn clone(&self) -> HttpMethod
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