pub struct SpreadMonitorView {Show 18 fields
pub underlying: String,
pub expiry: String,
pub strategy: String,
pub contracts: u32,
pub entry_credit: f64,
pub debit_to_close: f64,
pub target_debit: f64,
pub stop_debit: f64,
pub profit_pct: f64,
pub pnl_usd: f64,
pub pct_toward_target: f64,
pub pct_cushion_from_stop: f64,
pub dte: i64,
pub dte_close: u32,
pub imminent_exit: Option<String>,
pub mark_source: String,
pub mark_age_secs: Option<i64>,
pub analytics: Option<SpreadAnalytics>,
}Fields§
§underlying: String§expiry: String§strategy: String§contracts: u32§entry_credit: f64§debit_to_close: f64§target_debit: f64§stop_debit: f64§profit_pct: f64§pnl_usd: f64§pct_toward_target: f64§pct_cushion_from_stop: f64§dte: i64§dte_close: u32§imminent_exit: Option<String>§mark_source: String§mark_age_secs: Option<i64>§analytics: Option<SpreadAnalytics>Trait Implementations§
Source§impl Clone for SpreadMonitorView
impl Clone for SpreadMonitorView
Source§fn clone(&self) -> SpreadMonitorView
fn clone(&self) -> SpreadMonitorView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpreadMonitorView
impl RefUnwindSafe for SpreadMonitorView
impl Send for SpreadMonitorView
impl Sync for SpreadMonitorView
impl Unpin for SpreadMonitorView
impl UnsafeUnpin for SpreadMonitorView
impl UnwindSafe for SpreadMonitorView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more