pub enum HttpMethod {
GET,
PUT,
POST,
DELETE,
}
Expand description
HTTP request methods.
Variants§
Trait Implementations§
Source§impl AsRef<str> for HttpMethod
impl AsRef<str> for HttpMethod
Source§impl Format for HttpMethod
impl Format for HttpMethod
Source§impl Into<HttpMethod> for ProvisionMode
impl Into<HttpMethod> for ProvisionMode
Source§fn into(self) -> HttpMethod
fn into(self) -> HttpMethod
Converts this type into the (usually inferred) input type.
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