pub enum MarginTrading {
None,
Both,
UtaOnly,
NormalSpotOnly,
}Variants§
None
Regardless of normal account or UTA account, this trading pair does not support margin trading
Both
For both normal account and UTA account, this trading pair supports margin trading
UtaOnly
Only for UTA account,this trading pair supports margin trading
NormalSpotOnly
Only for normal account, this trading pair supports margin trading
Trait Implementations§
Source§impl Clone for MarginTrading
impl Clone for MarginTrading
Source§fn clone(&self) -> MarginTrading
fn clone(&self) -> MarginTrading
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 moreimpl Copy for MarginTrading
Source§impl Debug for MarginTrading
impl Debug for MarginTrading
Source§impl<'de> Deserialize<'de> for MarginTrading
impl<'de> Deserialize<'de> for MarginTrading
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 PartialEq for MarginTrading
impl PartialEq for MarginTrading
Source§fn eq(&self, other: &MarginTrading) -> bool
fn eq(&self, other: &MarginTrading) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MarginTrading
impl Serialize for MarginTrading
impl StructuralPartialEq for MarginTrading
Auto Trait Implementations§
impl Freeze for MarginTrading
impl RefUnwindSafe for MarginTrading
impl Send for MarginTrading
impl Sync for MarginTrading
impl Unpin for MarginTrading
impl UnsafeUnpin for MarginTrading
impl UnwindSafe for MarginTrading
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