pub enum HttpRequestHttpMethod {
Options,
Get,
Head,
Post,
Put,
Delete,
Trace,
Connect,
}
Expand description
HttpRequestHttpMethod
JSON schema
{
"type": "string",
"enum": [
"OPTIONS",
"GET",
"HEAD",
"POST",
"PUT",
"DELETE",
"TRACE",
"CONNECT"
]
}
Variants§
Trait Implementations§
Source§impl Clone for HttpRequestHttpMethod
impl Clone for HttpRequestHttpMethod
Source§fn clone(&self) -> HttpRequestHttpMethod
fn clone(&self) -> HttpRequestHttpMethod
Returns a duplicate 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 HttpRequestHttpMethod
impl Debug for HttpRequestHttpMethod
Source§impl<'de> Deserialize<'de> for HttpRequestHttpMethod
impl<'de> Deserialize<'de> for HttpRequestHttpMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&HttpRequestHttpMethod> for HttpRequestHttpMethod
impl From<&HttpRequestHttpMethod> for HttpRequestHttpMethod
Source§fn from(value: &HttpRequestHttpMethod) -> Self
fn from(value: &HttpRequestHttpMethod) -> Self
Converts to this type from the input type.
Source§impl FromStr for HttpRequestHttpMethod
impl FromStr for HttpRequestHttpMethod
Source§impl Hash for HttpRequestHttpMethod
impl Hash for HttpRequestHttpMethod
Source§impl Ord for HttpRequestHttpMethod
impl Ord for HttpRequestHttpMethod
Source§fn cmp(&self, other: &HttpRequestHttpMethod) -> Ordering
fn cmp(&self, other: &HttpRequestHttpMethod) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HttpRequestHttpMethod
impl PartialEq for HttpRequestHttpMethod
Source§impl PartialOrd for HttpRequestHttpMethod
impl PartialOrd for HttpRequestHttpMethod
Source§impl Serialize for HttpRequestHttpMethod
impl Serialize for HttpRequestHttpMethod
Source§impl ToString for HttpRequestHttpMethod
impl ToString for HttpRequestHttpMethod
Source§impl TryFrom<&String> for HttpRequestHttpMethod
impl TryFrom<&String> for HttpRequestHttpMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for HttpRequestHttpMethod
impl TryFrom<&str> for HttpRequestHttpMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for HttpRequestHttpMethod
impl TryFrom<String> for HttpRequestHttpMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for HttpRequestHttpMethod
impl Eq for HttpRequestHttpMethod
impl StructuralPartialEq for HttpRequestHttpMethod
Auto Trait Implementations§
impl Freeze for HttpRequestHttpMethod
impl RefUnwindSafe for HttpRequestHttpMethod
impl Send for HttpRequestHttpMethod
impl Sync for HttpRequestHttpMethod
impl Unpin for HttpRequestHttpMethod
impl UnwindSafe for HttpRequestHttpMethod
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