pub struct MarginPairDetails {
pub id: u64,
pub symbol: String,
pub base: String,
pub quote: String,
pub is_margin_trade: bool,
pub is_buy_allowed: bool,
pub is_sell_allowed: bool,
}Expand description
Cross margin pair details.
Fields§
§id: u64Symbol ID.
symbol: StringSymbol.
base: StringBase asset.
quote: StringQuote asset.
is_margin_trade: boolWhether margin trading is enabled.
is_buy_allowed: boolWhether buy is allowed.
is_sell_allowed: boolWhether sell is allowed.
Trait Implementations§
Source§impl Clone for MarginPairDetails
impl Clone for MarginPairDetails
Source§fn clone(&self) -> MarginPairDetails
fn clone(&self) -> MarginPairDetails
Returns a duplicate of the value. Read more
1.0.0 · 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 MarginPairDetails
impl Debug for MarginPairDetails
Source§impl<'de> Deserialize<'de> for MarginPairDetails
impl<'de> Deserialize<'de> for MarginPairDetails
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
Auto Trait Implementations§
impl Freeze for MarginPairDetails
impl RefUnwindSafe for MarginPairDetails
impl Send for MarginPairDetails
impl Sync for MarginPairDetails
impl Unpin for MarginPairDetails
impl UnwindSafe for MarginPairDetails
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