pub enum Liquidity {
Maker,
Taker,
}
Expand description
This enum represents the liquidity
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Liquidity
impl<'de> Deserialize<'de> for Liquidity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Liquidity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Liquidity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AccountTradeSide> for Liquidity
impl From<AccountTradeSide> for Liquidity
Source§fn from(side: AccountTradeSide) -> Liquidity
fn from(side: AccountTradeSide) -> Liquidity
Converts to this type from the input type.
Source§impl Serialize for Liquidity
impl Serialize for Liquidity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Liquidity
Auto Trait Implementations§
impl Freeze for Liquidity
impl RefUnwindSafe for Liquidity
impl Send for Liquidity
impl Sync for Liquidity
impl Unpin for Liquidity
impl UnwindSafe for Liquidity
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