pub enum CryptoCentralization {
CEX,
DEX,
}Expand description
Centralization level for crypto markets.
Controls whether to search centralized or decentralized exchanges.
Default is CEX.
Variants§
CEX
Centralized exchange (e.g. Binance, Coinbase).
DEX
Decentralized exchange (e.g. Uniswap, PancakeSwap).
Trait Implementations§
Source§impl Clone for CryptoCentralization
impl Clone for CryptoCentralization
impl Copy for CryptoCentralization
Source§impl Debug for CryptoCentralization
impl Debug for CryptoCentralization
Source§impl Default for CryptoCentralization
impl Default for CryptoCentralization
Source§impl<'de> Deserialize<'de> for CryptoCentralization
impl<'de> Deserialize<'de> for CryptoCentralization
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 CryptoCentralization
impl Display for CryptoCentralization
impl Eq for CryptoCentralization
Source§impl Hash for CryptoCentralization
impl Hash for CryptoCentralization
Source§impl PartialEq for CryptoCentralization
impl PartialEq for CryptoCentralization
Source§impl Serialize for CryptoCentralization
impl Serialize for CryptoCentralization
impl StructuralPartialEq for CryptoCentralization
Auto Trait Implementations§
impl Freeze for CryptoCentralization
impl RefUnwindSafe for CryptoCentralization
impl Send for CryptoCentralization
impl Sync for CryptoCentralization
impl Unpin for CryptoCentralization
impl UnsafeUnpin for CryptoCentralization
impl UnwindSafe for CryptoCentralization
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