pub struct TopAsset {
pub symbol: String,
pub class: AssetClass,
pub popularity: f64,
pub spot_profit: Option<f64>,
pub spread: Option<f64>,
pub volatility: Option<f64>,
pub diff_day: Option<f64>,
pub diff_hour: Option<f64>,
pub cur_price: Option<f64>,
}Fields§
§symbol: String§class: AssetClass§popularity: f64Valor de popularidad del bróker.
spot_profit: Option<f64>Payout spot actual (porcentaje).
spread: Option<f64>Spread actual.
volatility: Option<f64>Volatilidad reciente.
diff_day: Option<f64>Variación del día (%).
diff_hour: Option<f64>Variación de la hora (%).
cur_price: Option<f64>Precio actual.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TopAsset
impl<'de> Deserialize<'de> for TopAsset
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
impl StructuralPartialEq for TopAsset
Auto Trait Implementations§
impl Forget for TopAsset
impl Freeze for TopAsset
impl RefUnwindSafe for TopAsset
impl Send for TopAsset
impl Sync for TopAsset
impl Unpin for TopAsset
impl UnsafeUnpin for TopAsset
impl UnwindSafe for TopAsset
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