pub enum Method {
GET,
POST,
PUT,
DELETE,
HEAD,
OPTIONS,
}
Expand description
HTTP Method
Variants§
GET
HTTP GET method
POST
HTTP POST method
PUT
HTTP PUT method
DELETE
HTTP DELETE method
HEAD
HTTP HEAD method
OPTIONS
HTTP OPTIONS method
Implementations§
Trait Implementations§
impl Copy 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 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