pub struct Pair {Show 16 fields
pub base: String,
pub quote: String,
pub cost_min: Decimal,
pub cost_precision: i64,
pub has_index: bool,
pub margin_initial: Option<Decimal>,
pub marginable: bool,
pub position_limit_long: Option<i64>,
pub position_limit_short: Option<i64>,
pub price_increment: Decimal,
pub price_precision: i64,
pub quantity_increment: Decimal,
pub quantity_min: Decimal,
pub quantity_precision: i64,
pub status: PairStatus,
pub symbol: String,
}
Fields§
§base: String
§quote: String
§cost_min: Decimal
§cost_precision: i64
§has_index: bool
§margin_initial: Option<Decimal>
§marginable: bool
§position_limit_long: Option<i64>
§position_limit_short: Option<i64>
§price_increment: Decimal
§price_precision: i64
§quantity_increment: Decimal
§quantity_min: Decimal
§quantity_precision: i64
§status: PairStatus
§symbol: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pair
impl<'de> Deserialize<'de> for Pair
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 StructuralPartialEq for Pair
Auto Trait Implementations§
impl Freeze for Pair
impl RefUnwindSafe for Pair
impl Send for Pair
impl Sync for Pair
impl Unpin for Pair
impl UnwindSafe for Pair
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