pub enum HttpMethod {
Show 27 variants
Delete,
Get,
Head,
Post,
Put,
Connect,
Options,
Trace,
Copy,
Lock,
MKCol,
Move,
PropFind,
PropPatch,
Search,
Unlock,
Report,
MKActivity,
Checkout,
Merge,
MSearch,
Notify,
Subscribe,
Unsubscribe,
Patch,
Purge,
MKCalendar,
}
Expand description
HttpMethod
defines supported HTTP methods.
Variants§
Delete
Get
Head
Post
Put
Connect
Options
Trace
Copy
Lock
MKCol
Move
PropFind
PropPatch
Search
Unlock
Report
MKActivity
Checkout
Merge
MSearch
Notify
Subscribe
Unsubscribe
Patch
Purge
MKCalendar
Trait Implementations§
Source§impl Clone for HttpMethod
impl Clone for HttpMethod
Source§fn clone(&self) -> HttpMethod
fn clone(&self) -> HttpMethod
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 PartialEq for HttpMethod
impl PartialEq for HttpMethod
Source§impl ToString for HttpMethod
impl ToString for HttpMethod
impl Copy for HttpMethod
impl Eq for HttpMethod
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations§
impl Freeze for HttpMethod
impl RefUnwindSafe for HttpMethod
impl Send for HttpMethod
impl Sync for HttpMethod
impl Unpin for HttpMethod
impl UnwindSafe for HttpMethod
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