pub enum BswapLiquidityAddType {
Single,
Combination,
}
Expand description
BswapLiquidityAddType
JSON schema
{
"examples": [
"Single"
],
"type": "string",
"enum": [
"Single",
"Combination"
]
}
Variants§
Trait Implementations§
Source§impl Clone for BswapLiquidityAddType
impl Clone for BswapLiquidityAddType
Source§fn clone(&self) -> BswapLiquidityAddType
fn clone(&self) -> BswapLiquidityAddType
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 BswapLiquidityAddType
impl Debug for BswapLiquidityAddType
Source§impl<'de> Deserialize<'de> for BswapLiquidityAddType
impl<'de> Deserialize<'de> for BswapLiquidityAddType
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<&BswapLiquidityAddType> for BswapLiquidityAddType
impl From<&BswapLiquidityAddType> for BswapLiquidityAddType
Source§fn from(value: &BswapLiquidityAddType) -> Self
fn from(value: &BswapLiquidityAddType) -> Self
Converts to this type from the input type.
Source§impl FromStr for BswapLiquidityAddType
impl FromStr for BswapLiquidityAddType
Source§impl Hash for BswapLiquidityAddType
impl Hash for BswapLiquidityAddType
Source§impl Ord for BswapLiquidityAddType
impl Ord for BswapLiquidityAddType
Source§fn cmp(&self, other: &BswapLiquidityAddType) -> Ordering
fn cmp(&self, other: &BswapLiquidityAddType) -> 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 BswapLiquidityAddType
impl PartialEq for BswapLiquidityAddType
Source§impl PartialOrd for BswapLiquidityAddType
impl PartialOrd for BswapLiquidityAddType
Source§impl Serialize for BswapLiquidityAddType
impl Serialize for BswapLiquidityAddType
Source§impl ToString for BswapLiquidityAddType
impl ToString for BswapLiquidityAddType
Source§impl TryFrom<&String> for BswapLiquidityAddType
impl TryFrom<&String> for BswapLiquidityAddType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for BswapLiquidityAddType
impl TryFrom<&str> for BswapLiquidityAddType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for BswapLiquidityAddType
impl TryFrom<String> for BswapLiquidityAddType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for BswapLiquidityAddType
impl Eq for BswapLiquidityAddType
impl StructuralPartialEq for BswapLiquidityAddType
Auto Trait Implementations§
impl Freeze for BswapLiquidityAddType
impl RefUnwindSafe for BswapLiquidityAddType
impl Send for BswapLiquidityAddType
impl Sync for BswapLiquidityAddType
impl Unpin for BswapLiquidityAddType
impl UnwindSafe for BswapLiquidityAddType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.