pub enum Method {
Get,
Head,
Post,
Put,
Delete,
Options,
Trace,
Patch,
}Expand description
HTTP method.
Variants§
Get
GET method
Head
HEAD method
Post
POST method
Put
PUT method
Delete
DELETE method
Options
OPTIONS method
Trace
TRACE method
Patch
PATCH method
Implementations§
Trait Implementations§
impl Copy for Method
impl Eq for Method
Source§impl FromStr for Method
impl FromStr for Method
Source§impl Ord for Method
impl Ord for Method
1.21.0 (const: unstable) · 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 PartialOrd for Method
impl PartialOrd for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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