pub enum CryptoType {
All,
Spot,
Futures,
Swap,
Index,
Fundamental,
}Expand description
Crypto sub-type for use with MarketType::Crypto.
Variants§
All
All crypto types.
Spot
Spot market.
Futures
Futures / perpetual contracts.
Swap
Swap contracts.
Index
Crypto index.
Fundamental
Fundamental crypto data.
Trait Implementations§
Source§impl Clone for CryptoType
impl Clone for CryptoType
impl Copy for CryptoType
Source§impl Debug for CryptoType
impl Debug for CryptoType
Source§impl Default for CryptoType
impl Default for CryptoType
Source§impl<'de> Deserialize<'de> for CryptoType
impl<'de> Deserialize<'de> for CryptoType
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 CryptoType
Source§impl Hash for CryptoType
impl Hash for CryptoType
Source§impl PartialEq for CryptoType
impl PartialEq for CryptoType
Source§impl Serialize for CryptoType
impl Serialize for CryptoType
impl StructuralPartialEq for CryptoType
Auto Trait Implementations§
impl Freeze for CryptoType
impl RefUnwindSafe for CryptoType
impl Send for CryptoType
impl Sync for CryptoType
impl Unpin for CryptoType
impl UnsafeUnpin for CryptoType
impl UnwindSafe for CryptoType
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