#[repr(u8)]pub enum Venue {
Upbit = 1,
Binance = 2,
Coinbase = 3,
Bybit = 4,
Bithumb = 5,
Test = 99,
}Expand description
Represents a trading venue or exchange.
Variants§
Upbit = 1
Upbit exchange.
Binance = 2
Binance exchange.
Coinbase = 3
Coinbase exchange.
Bybit = 4
Bybit exchange.
Bithumb = 5
Bithumb exchange.
Test = 99
A venue for testing purposes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
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 Copy for Venue
impl Eq for Venue
impl StructuralPartialEq for Venue
Auto Trait Implementations§
impl Freeze for Venue
impl RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.