pub struct SymbolInfo {
pub symbol: String,
pub market_id: MarketId,
pub status: String,
pub base_asset: String,
pub quote_asset: String,
pub price_precision: u8,
pub quantity_precision: u8,
}Expand description
Symbol information cached from the exchange.
Fields§
§symbol: StringTrading pair symbol (e.g. "BTC-USD").
market_id: MarketIdNumeric market identifier.
status: StringTrading status (e.g. "TRADING", "HALT").
base_asset: StringBase asset (e.g. "BTC").
quote_asset: StringQuote asset (e.g. "USD").
price_precision: u8Price decimal precision.
quantity_precision: u8Quantity decimal precision.
Trait Implementations§
Source§impl Clone for SymbolInfo
impl Clone for SymbolInfo
Source§fn clone(&self) -> SymbolInfo
fn clone(&self) -> SymbolInfo
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 moreAuto Trait Implementations§
impl Freeze for SymbolInfo
impl RefUnwindSafe for SymbolInfo
impl Send for SymbolInfo
impl Sync for SymbolInfo
impl Unpin for SymbolInfo
impl UnsafeUnpin for SymbolInfo
impl UnwindSafe for SymbolInfo
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