pub struct MarketInfo {
pub symbol: String,
pub base_asset: String,
pub quote_asset: String,
pub status: String,
pub price_precision: u32,
pub size_precision: u32,
pub tick_size: f64,
pub lot_size: f64,
pub min_notional: f64,
pub max_leverage: f64,
pub order_types: Vec<String>,
pub time_in_forces: Vec<String>,
}Expand description
Per-market configuration returned by the exchange.
Fields§
§symbol: String§base_asset: String§quote_asset: String§status: String§price_precision: u32§size_precision: u32§tick_size: f64§lot_size: f64§min_notional: f64§max_leverage: f64§order_types: Vec<String>§time_in_forces: Vec<String>Trait Implementations§
Source§impl Clone for MarketInfo
impl Clone for MarketInfo
Source§fn clone(&self) -> MarketInfo
fn clone(&self) -> MarketInfo
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 MarketInfo
impl Debug for MarketInfo
Source§impl<'de> Deserialize<'de> for MarketInfo
impl<'de> Deserialize<'de> for MarketInfo
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 MarketInfo
impl RefUnwindSafe for MarketInfo
impl Send for MarketInfo
impl Sync for MarketInfo
impl Unpin for MarketInfo
impl UnsafeUnpin for MarketInfo
impl UnwindSafe for MarketInfo
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