pub struct Symbol {Show 46 fields
pub ask: f64,
pub bid: f64,
pub category_name: String,
pub contract_size: i64,
pub currency: String,
pub currency_pair: bool,
pub currency_profit: String,
pub description: String,
pub expiration: Option<i64>,
pub group_name: String,
pub high: f64,
pub initial_margin: i64,
pub instant_max_volume: i64,
pub leverage: f64,
pub long_only: bool,
pub lot_max: f64,
pub lot_min: f64,
pub lot_step: f64,
pub low: f64,
pub margin_hedged: i64,
pub margin_hedged_strong: bool,
pub margin_maintenance: Option<i64>,
pub margin_mode: i64,
pub percentage: f64,
pub pips_precision: Option<i64>,
pub precision: i64,
pub profit_mode: i64,
pub quote_id: i64,
pub short_selling: bool,
pub spread_raw: f64,
pub spread_table: f64,
pub starting: Option<i64>,
pub step_rule_id: i64,
pub stops_level: i64,
pub swap_rollover3days: i64,
pub swap_enable: bool,
pub swap_long: f64,
pub swap_short: f64,
pub swap_type: i64,
pub symbol: String,
pub tick_size: f64,
pub tick_value: f64,
pub time: i64,
pub time_string: String,
pub trailing_enabled: bool,
pub type_: i64,
}Fields§
§ask: f64§bid: f64§category_name: String§contract_size: i64§currency: String§currency_pair: bool§currency_profit: String§description: String§expiration: Option<i64>§group_name: String§high: f64§initial_margin: i64§instant_max_volume: i64§leverage: f64§long_only: bool§lot_max: f64§lot_min: f64§lot_step: f64§low: f64§margin_hedged: i64§margin_hedged_strong: bool§margin_maintenance: Option<i64>§margin_mode: i64§percentage: f64§pips_precision: Option<i64>§precision: i64§profit_mode: i64§quote_id: i64§short_selling: bool§spread_raw: f64§spread_table: f64§starting: Option<i64>§step_rule_id: i64§stops_level: i64§swap_rollover3days: i64§swap_enable: bool§swap_long: f64§swap_short: f64§swap_type: i64§symbol: String§tick_size: f64§tick_value: f64§time: i64§time_string: String§trailing_enabled: bool§type_: i64Trait Implementations§
source§impl<'de> Deserialize<'de> for Symbol
impl<'de> Deserialize<'de> for Symbol
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 RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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