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