Enum usiem::events::common::HttpMethod
source · pub enum HttpMethod {
UNKNOWN(String),
GET,
POST,
PUT,
PATCH,
OPTIONS,
CONNECT,
HEAD,
UNDEFINED,
}
Variants
UNKNOWN(String)
GET
POST
PUT
PATCH
OPTIONS
CONNECT
HEAD
UNDEFINED
Implementations
sourceimpl HttpMethod
impl HttpMethod
Trait Implementations
sourceimpl Clone for HttpMethod
impl Clone for HttpMethod
sourcefn clone(&self) -> HttpMethod
fn clone(&self) -> HttpMethod
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpMethod
impl Debug for HttpMethod
sourceimpl Display for HttpMethod
impl Display for HttpMethod
sourceimpl PartialEq<HttpMethod> for HttpMethod
impl PartialEq<HttpMethod> for HttpMethod
sourcefn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
sourceimpl Serialize for HttpMethod
impl Serialize for HttpMethod
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations
impl RefUnwindSafe for HttpMethod
impl Send for HttpMethod
impl Sync for HttpMethod
impl Unpin for HttpMethod
impl UnwindSafe for HttpMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more