pub struct InstrumentInfo {Show 13 fields
pub symbol: String,
pub contract_type: String,
pub status: String,
pub base_coin: String,
pub quote_coin: String,
pub settle_coin: String,
pub launch_time: String,
pub delivery_time: String,
pub delivery_fee_rate: String,
pub price_scale: String,
pub leverage_filter: Option<LeverageFilter>,
pub price_filter: Option<PriceFilter>,
pub lot_size_filter: Option<LotSizeFilter>,
}Expand description
Single instrument info.
Fields§
§symbol: StringSymbol name
contract_type: StringContract type
status: StringTrading status
base_coin: StringBase coin
quote_coin: StringQuote coin
settle_coin: StringSettle coin
launch_time: StringLaunch time
delivery_time: StringDelivery time
delivery_fee_rate: StringDelivery fee rate
price_scale: StringPrice scale
leverage_filter: Option<LeverageFilter>Leverage filter
price_filter: Option<PriceFilter>Price filter
lot_size_filter: Option<LotSizeFilter>Lot size filter
Trait Implementations§
Source§impl Clone for InstrumentInfo
impl Clone for InstrumentInfo
Source§fn clone(&self) -> InstrumentInfo
fn clone(&self) -> InstrumentInfo
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 InstrumentInfo
impl Debug for InstrumentInfo
Source§impl<'de> Deserialize<'de> for InstrumentInfo
impl<'de> Deserialize<'de> for InstrumentInfo
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 InstrumentInfo
impl RefUnwindSafe for InstrumentInfo
impl Send for InstrumentInfo
impl Sync for InstrumentInfo
impl Unpin for InstrumentInfo
impl UnsafeUnpin for InstrumentInfo
impl UnwindSafe for InstrumentInfo
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