pub enum RequestMethod {
GET,
POST,
PUT,
DELETE,
PATCH,
}Variants§
Trait Implementations§
Source§impl Debug for RequestMethod
impl Debug for RequestMethod
Source§impl PartialEq for RequestMethod
impl PartialEq for RequestMethod
Source§fn eq(&self, other: &RequestMethod) -> bool
fn eq(&self, other: &RequestMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestMethod
Auto Trait Implementations§
impl Freeze for RequestMethod
impl RefUnwindSafe for RequestMethod
impl Send for RequestMethod
impl Sync for RequestMethod
impl Unpin for RequestMethod
impl UnsafeUnpin for RequestMethod
impl UnwindSafe for RequestMethod
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