pub enum HttpMethods {
GET,
POST,
PUT,
DELETE,
HEAD,
OPTIONS,
CONNECT,
PATCH,
TRACE,
}Expand description
Htpp Methods
Like GET, POST, …
Not supported all methods yet
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HttpMethods
impl Clone for HttpMethods
Source§fn clone(&self) -> HttpMethods
fn clone(&self) -> HttpMethods
Returns a duplicate 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 HttpMethods
impl Debug for HttpMethods
Source§impl Hash for HttpMethods
impl Hash for HttpMethods
Source§impl Ord for HttpMethods
impl Ord for HttpMethods
Source§fn cmp(&self, other: &HttpMethods) -> Ordering
fn cmp(&self, other: &HttpMethods) -> 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 HttpMethods
impl PartialEq for HttpMethods
Source§impl PartialOrd for HttpMethods
impl PartialOrd for HttpMethods
impl Copy for HttpMethods
impl Eq for HttpMethods
impl StructuralPartialEq for HttpMethods
Auto Trait Implementations§
impl Freeze for HttpMethods
impl RefUnwindSafe for HttpMethods
impl Send for HttpMethods
impl Sync for HttpMethods
impl Unpin for HttpMethods
impl UnwindSafe for HttpMethods
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