pub struct DeltaNeutralContract {
pub con_id: i32,
pub delta: f64,
pub price: f64,
}Expand description
Delta-neutral contract.
Fields§
§con_id: i32Contract id.
delta: f64Delta.
price: f64Price.
Trait Implementations§
Source§impl Clone for DeltaNeutralContract
impl Clone for DeltaNeutralContract
Source§fn clone(&self) -> DeltaNeutralContract
fn clone(&self) -> DeltaNeutralContract
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 moreSource§impl Debug for DeltaNeutralContract
impl Debug for DeltaNeutralContract
Source§impl Default for DeltaNeutralContract
impl Default for DeltaNeutralContract
Source§fn default() -> DeltaNeutralContract
fn default() -> DeltaNeutralContract
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeltaNeutralContract
impl PartialEq for DeltaNeutralContract
impl StructuralPartialEq for DeltaNeutralContract
Auto Trait Implementations§
impl Freeze for DeltaNeutralContract
impl RefUnwindSafe for DeltaNeutralContract
impl Send for DeltaNeutralContract
impl Sync for DeltaNeutralContract
impl Unpin for DeltaNeutralContract
impl UnsafeUnpin for DeltaNeutralContract
impl UnwindSafe for DeltaNeutralContract
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