pub enum HttpMethod {
Any,
Get,
Head,
Options,
Patch,
Post,
Put,
Delete,
}Variants§
Trait Implementations§
Source§impl From<HttpMethod> for String
impl From<HttpMethod> for String
Source§fn from(value: HttpMethod) -> Self
fn from(value: HttpMethod) -> Self
Converts to this type from the 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more