pub struct StrikeQuote {
pub strike: f64,
pub call_instrument_id: Option<String>,
pub put_instrument_id: Option<String>,
pub call_profit_percent: Option<f64>,
pub put_profit_percent: Option<f64>,
}Fields§
§strike: f64§call_instrument_id: Option<String>instrument_id call, p. ej. doEURUSD201907191250PT1MC11350481SPT.
put_instrument_id: Option<String>§call_profit_percent: Option<f64>§put_profit_percent: Option<f64>Trait Implementations§
Source§impl Clone for StrikeQuote
impl Clone for StrikeQuote
Source§impl Debug for StrikeQuote
impl Debug for StrikeQuote
Source§impl<'de> Deserialize<'de> for StrikeQuote
impl<'de> Deserialize<'de> for StrikeQuote
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
Source§impl PartialEq for StrikeQuote
impl PartialEq for StrikeQuote
Source§impl Serialize for StrikeQuote
impl Serialize for StrikeQuote
impl StructuralPartialEq for StrikeQuote
Auto Trait Implementations§
impl Forget for StrikeQuote
impl Freeze for StrikeQuote
impl RefUnwindSafe for StrikeQuote
impl Send for StrikeQuote
impl Sync for StrikeQuote
impl Unpin for StrikeQuote
impl UnsafeUnpin for StrikeQuote
impl UnwindSafe for StrikeQuote
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