Enum http_acl::acl::HttpRequestMethod
source · pub enum HttpRequestMethod {
CONNECT,
DELETE,
GET,
HEAD,
OPTIONS,
PATCH,
POST,
PUT,
TRACE,
OTHER(String),
}Expand description
Represents an HTTP request method.
Variants§
Trait Implementations§
source§impl Clone for HttpRequestMethod
impl Clone for HttpRequestMethod
source§fn clone(&self) -> HttpRequestMethod
fn clone(&self) -> HttpRequestMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpRequestMethod
impl Debug for HttpRequestMethod
source§impl From<&str> for HttpRequestMethod
impl From<&str> for HttpRequestMethod
source§impl Hash for HttpRequestMethod
impl Hash for HttpRequestMethod
source§impl Ord for HttpRequestMethod
impl Ord for HttpRequestMethod
source§fn cmp(&self, other: &HttpRequestMethod) -> Ordering
fn cmp(&self, other: &HttpRequestMethod) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for HttpRequestMethod
impl PartialEq for HttpRequestMethod
source§fn eq(&self, other: &HttpRequestMethod) -> bool
fn eq(&self, other: &HttpRequestMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for HttpRequestMethod
impl PartialOrd for HttpRequestMethod
source§fn partial_cmp(&self, other: &HttpRequestMethod) -> Option<Ordering>
fn partial_cmp(&self, other: &HttpRequestMethod) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for HttpRequestMethod
impl StructuralEq for HttpRequestMethod
impl StructuralPartialEq for HttpRequestMethod
Auto Trait Implementations§
impl RefUnwindSafe for HttpRequestMethod
impl Send for HttpRequestMethod
impl Sync for HttpRequestMethod
impl Unpin for HttpRequestMethod
impl UnwindSafe for HttpRequestMethod
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more