pub enum MarketType {
All,
Stocks(StocksType),
Funds(FundsType),
Futures,
Forex,
Crypto(CryptoType),
Indices,
Bonds,
Economy,
}Expand description
Market category for filtering symbol search results.
The Stocks, Crypto, and Funds variants each carry a sub-type for
finer-grained filtering. Default is All.
Variants§
All
All markets (no filter).
Stocks(StocksType)
Stocks, with optional sub-type.
Funds(FundsType)
Funds (ETF, mutual fund, REIT, trust), with optional sub-type.
Futures
Futures contracts.
Forex
Forex / currencies.
Crypto(CryptoType)
Cryptocurrencies, with optional sub-type.
Indices
Market indices.
Bonds
Bonds.
Economy
Economic indicators / data.
Trait Implementations§
Source§impl Clone for MarketType
impl Clone for MarketType
impl Copy for MarketType
Source§impl Debug for MarketType
impl Debug for MarketType
Source§impl Default for MarketType
impl Default for MarketType
Source§impl<'de> Deserialize<'de> for MarketType
impl<'de> Deserialize<'de> for MarketType
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 MarketType
impl Display for MarketType
impl Eq for MarketType
Source§impl From<&str> for MarketType
impl From<&str> for MarketType
Source§impl Hash for MarketType
impl Hash for MarketType
Source§impl PartialEq for MarketType
impl PartialEq for MarketType
Source§impl Serialize for MarketType
impl Serialize for MarketType
impl StructuralPartialEq for MarketType
Auto Trait Implementations§
impl Freeze for MarketType
impl RefUnwindSafe for MarketType
impl Send for MarketType
impl Sync for MarketType
impl Unpin for MarketType
impl UnsafeUnpin for MarketType
impl UnwindSafe for MarketType
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