pub enum KnownExchange {
Binance,
Bybit,
Bitget,
Mexc,
Okx,
}Variants§
Trait Implementations§
Source§impl Clone for KnownExchange
impl Clone for KnownExchange
Source§fn clone(&self) -> KnownExchange
fn clone(&self) -> KnownExchange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KnownExchange
impl Debug for KnownExchange
Source§impl Display for KnownExchange
impl Display for KnownExchange
Source§impl<'_derivative_strum> From<&'_derivative_strum KnownExchange> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum KnownExchange> for &'static str
Source§fn from(x: &'_derivative_strum KnownExchange) -> &'static str
fn from(x: &'_derivative_strum KnownExchange) -> &'static str
Converts to this type from the input type.
Source§impl From<KnownExchange> for &'static str
impl From<KnownExchange> for &'static str
Source§fn from(x: KnownExchange) -> &'static str
fn from(x: KnownExchange) -> &'static str
Converts to this type from the input type.
Source§impl From<KnownExchange> for ExchangeId
impl From<KnownExchange> for ExchangeId
Source§fn from(value: KnownExchange) -> Self
fn from(value: KnownExchange) -> Self
Converts to this type from the input type.
Source§impl FromStr for KnownExchange
impl FromStr for KnownExchange
Source§impl Hash for KnownExchange
impl Hash for KnownExchange
Source§impl Ord for KnownExchange
impl Ord for KnownExchange
Source§fn cmp(&self, other: &KnownExchange) -> Ordering
fn cmp(&self, other: &KnownExchange) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KnownExchange
impl PartialEq for KnownExchange
Source§fn eq(&self, other: &KnownExchange) -> bool
fn eq(&self, other: &KnownExchange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for KnownExchange
impl PartialOrd for KnownExchange
Source§impl TryFrom<&str> for KnownExchange
impl TryFrom<&str> for KnownExchange
impl Copy for KnownExchange
impl Eq for KnownExchange
impl StructuralPartialEq for KnownExchange
Auto Trait Implementations§
impl Freeze for KnownExchange
impl RefUnwindSafe for KnownExchange
impl Send for KnownExchange
impl Sync for KnownExchange
impl Unpin for KnownExchange
impl UnsafeUnpin for KnownExchange
impl UnwindSafe for KnownExchange
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