pub struct Payout {
pub symbol: String,
pub expiration_seconds: u64,
pub profit_percent: f64,
pub is_spot: bool,
pub strike: Option<f64>,
pub closed: bool,
}Fields§
§symbol: String§expiration_seconds: u64§profit_percent: f64Porcentaje de ganancia 0-100 (p. ej. 82.0 = 82%).
is_spot: booltrue = digital spot; false = binaria/turbo clásica.
strike: Option<f64>§closed: boolEl bróker reporta el activo cerrado (ask nulo ⇒ sin payout).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payout
impl<'de> Deserialize<'de> for Payout
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 Payout
Auto Trait Implementations§
impl Forget for Payout
impl Freeze for Payout
impl RefUnwindSafe for Payout
impl Send for Payout
impl Sync for Payout
impl Unpin for Payout
impl UnsafeUnpin for Payout
impl UnwindSafe for Payout
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