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