pub enum ServeTypesPrefer {
RespondAsync,
}Expand description
ServeTypesPrefer
JSON schema
{
"type": "string",
"enum": [
"respond-async"
]
}Variants§
RespondAsync
Trait Implementations§
Source§impl Clone for ServeTypesPrefer
impl Clone for ServeTypesPrefer
Source§fn clone(&self) -> ServeTypesPrefer
fn clone(&self) -> ServeTypesPrefer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServeTypesPrefer
Source§impl Debug for ServeTypesPrefer
impl Debug for ServeTypesPrefer
Source§impl<'de> Deserialize<'de> for ServeTypesPrefer
impl<'de> Deserialize<'de> for ServeTypesPrefer
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 Display for ServeTypesPrefer
impl Display for ServeTypesPrefer
impl Eq for ServeTypesPrefer
Source§impl From<&ServeTypesPrefer> for ServeTypesPrefer
impl From<&ServeTypesPrefer> for ServeTypesPrefer
Source§fn from(value: &ServeTypesPrefer) -> Self
fn from(value: &ServeTypesPrefer) -> Self
Converts to this type from the input type.
Source§impl FromStr for ServeTypesPrefer
impl FromStr for ServeTypesPrefer
Source§impl Hash for ServeTypesPrefer
impl Hash for ServeTypesPrefer
Source§impl Ord for ServeTypesPrefer
impl Ord for ServeTypesPrefer
Source§fn cmp(&self, other: &ServeTypesPrefer) -> Ordering
fn cmp(&self, other: &ServeTypesPrefer) -> Ordering
1.21.0 (const: unstable) · 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 ServeTypesPrefer
impl PartialEq for ServeTypesPrefer
Source§impl PartialOrd for ServeTypesPrefer
impl PartialOrd for ServeTypesPrefer
Source§impl Serialize for ServeTypesPrefer
impl Serialize for ServeTypesPrefer
impl StructuralPartialEq for ServeTypesPrefer
Source§impl TryFrom<&String> for ServeTypesPrefer
impl TryFrom<&String> for ServeTypesPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ServeTypesPrefer
impl TryFrom<&str> for ServeTypesPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ServeTypesPrefer
impl TryFrom<String> for ServeTypesPrefer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ServeTypesPrefer
impl RefUnwindSafe for ServeTypesPrefer
impl Send for ServeTypesPrefer
impl Sync for ServeTypesPrefer
impl Unpin for ServeTypesPrefer
impl UnsafeUnpin for ServeTypesPrefer
impl UnwindSafe for ServeTypesPrefer
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