pub enum Method {
GET,
POST,
PUT,
DELETE,
HEAD,
OPTIONS,
TRACE,
}
Expand description
Specify the HTTP method to use
Variants
GET
POST
PUT
DELETE
HEAD
OPTIONS
TRACE
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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