pub struct LegSpec {
pub kind: Kind,
pub moneyness: f64,
pub qty: f64,
}Expand description
One option leg, with strike given as a multiple of spot (1.00 = ATM).
Fields§
§kind: Kind§moneyness: f64§qty: f64+1 bought, -1 sold.
Trait Implementations§
impl Copy for LegSpec
Auto Trait Implementations§
impl Freeze for LegSpec
impl RefUnwindSafe for LegSpec
impl Send for LegSpec
impl Sync for LegSpec
impl Unpin for LegSpec
impl UnsafeUnpin for LegSpec
impl UnwindSafe for LegSpec
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