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