pub enum Liquidity {
Maker,
Taker,
Mixed,
}Expand description
Liquidity type enumeration
Variants§
Maker
Maker (provided liquidity)
Taker
Taker (consumed liquidity)
Mixed
Mixed (both maker and taker in same trade)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Liquidity
impl<'de> Deserialize<'de> for Liquidity
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
impl Eq for Liquidity
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