pub struct SpotBorrowCheck {
pub symbol: String,
pub side: Side,
pub max_trade_qty: Decimal,
pub max_trade_amount: Decimal,
pub spot_max_trade_qty: Decimal,
pub spot_max_trade_amount: Decimal,
pub borrow_coin: String,
}Expand description
Response for Client::get_spot_borrow_check.
Fields§
§symbol: String§side: Side§max_trade_qty: DecimalMaximum tradeable quantity with leverage (in base coin).
max_trade_amount: DecimalMaximum tradeable amount with leverage (in quote coin).
spot_max_trade_qty: DecimalMaximum tradeable quantity without leverage (in base coin).
spot_max_trade_amount: DecimalMaximum tradeable amount without leverage (in quote coin).
borrow_coin: StringThe coin to borrow.
Trait Implementations§
Source§impl Debug for SpotBorrowCheck
impl Debug for SpotBorrowCheck
Source§impl<'de> Deserialize<'de> for SpotBorrowCheck
impl<'de> Deserialize<'de> for SpotBorrowCheck
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 SpotBorrowCheck
impl PartialEq for SpotBorrowCheck
Source§fn eq(&self, other: &SpotBorrowCheck) -> bool
fn eq(&self, other: &SpotBorrowCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SpotBorrowCheck
Auto Trait Implementations§
impl Freeze for SpotBorrowCheck
impl RefUnwindSafe for SpotBorrowCheck
impl Send for SpotBorrowCheck
impl Sync for SpotBorrowCheck
impl Unpin for SpotBorrowCheck
impl UnsafeUnpin for SpotBorrowCheck
impl UnwindSafe for SpotBorrowCheck
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