pub struct SymbolInfo {
pub symbol: String,
pub description: Option<String>,
pub exchange: Option<String>,
pub category: Option<String>,
pub currency: Option<String>,
pub point_value: Option<String>,
pub min_move: Option<String>,
}Expand description
Symbol definition metadata.
Returned by Client::get_symbol_info.
Fields§
§symbol: StringTicker symbol.
description: Option<String>Human-readable description.
exchange: Option<String>Exchange where the symbol is listed.
category: Option<String>Asset category (e.g., “Stock”, “Future”).
currency: Option<String>Trading currency.
point_value: Option<String>Contract point value (futures/options).
min_move: Option<String>Minimum price movement.
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 moreSource§impl Debug for SymbolInfo
impl Debug for SymbolInfo
Source§impl<'de> Deserialize<'de> for SymbolInfo
impl<'de> Deserialize<'de> for SymbolInfo
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 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