#[non_exhaustive]pub struct InstrumentExt {
pub status: Option<SymbolStatus>,
pub permission_sets: Option<Vec<Vec<String>>>,
pub order_types: Option<Vec<String>>,
pub is_spot_trading_allowed: Option<bool>,
pub is_margin_trading_allowed: Option<bool>,
pub filters: Option<Vec<Filter>>,
}Expand description
Binance’s facts about a trading pair, beside Instrument’s fields.
It is not Eq: Filter is PartialEq alone.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: Option<SymbolStatus>Trading, halted and so on.
permission_sets: Option<Vec<Vec<String>>>The permission groups that may trade the pair.
order_types: Option<Vec<String>>The order types the pair accepts.
is_spot_trading_allowed: Option<bool>Whether spot trading is allowed.
is_margin_trading_allowed: Option<bool>Whether margin trading is allowed.
filters: Option<Vec<Filter>>Every order filter, the ones Instrument’s fields come from
included.
Trait Implementations§
Source§impl Clone for InstrumentExt
impl Clone for InstrumentExt
Source§impl Debug for InstrumentExt
impl Debug for InstrumentExt
Source§impl Default for InstrumentExt
impl Default for InstrumentExt
Source§impl PartialEq for InstrumentExt
impl PartialEq for InstrumentExt
impl StructuralPartialEq for InstrumentExt
Auto Trait Implementations§
impl Freeze for InstrumentExt
impl RefUnwindSafe for InstrumentExt
impl Send for InstrumentExt
impl Sync for InstrumentExt
impl Unpin for InstrumentExt
impl UnsafeUnpin for InstrumentExt
impl UnwindSafe for InstrumentExt
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