Enum wick_config::config::HttpMethod
source · pub enum HttpMethod {
Get,
Post,
Put,
Delete,
}Expand description
Supported HTTP methods
Variants§
Trait Implementations§
source§impl Clone for HttpMethod
impl Clone for HttpMethod
source§fn clone(&self) -> HttpMethod
fn clone(&self) -> HttpMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for HttpMethod
impl Debug for HttpMethod
source§impl From<HttpMethod> for HttpMethod
impl From<HttpMethod> for HttpMethod
source§fn from(value: HttpMethod) -> Self
fn from(value: HttpMethod) -> Self
Converts to this type from the input type.
source§impl From<HttpMethod> for HttpMethod
impl From<HttpMethod> for HttpMethod
source§fn from(value: HttpMethod) -> Self
fn from(value: HttpMethod) -> Self
Converts to this type from the input type.
source§impl PartialEq<HttpMethod> for HttpMethod
impl PartialEq<HttpMethod> for HttpMethod
source§fn eq(&self, other: &HttpMethod) -> bool
fn eq(&self, other: &HttpMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HttpMethod
impl Serialize for HttpMethod
impl Copy for HttpMethod
impl StructuralPartialEq for HttpMethod
Auto Trait Implementations§
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