pub struct StrategyBreakEvenInput {
pub positions: Vec<StrategyValuationPosition>,
pub evaluation_time: String,
pub entry_cost: Option<f64>,
pub rate: f64,
pub dividend_yield: Option<f64>,
pub long_volatility_shift: Option<f64>,
pub lower_bound: f64,
pub upper_bound: f64,
pub scan_step: Option<f64>,
pub tolerance: Option<f64>,
pub max_iterations: Option<usize>,
}Fields§
§positions: Vec<StrategyValuationPosition>§evaluation_time: String§entry_cost: Option<f64>§rate: f64§dividend_yield: Option<f64>§long_volatility_shift: Option<f64>§lower_bound: f64§upper_bound: f64§scan_step: Option<f64>§tolerance: Option<f64>§max_iterations: Option<usize>Trait Implementations§
Source§impl Clone for StrategyBreakEvenInput
impl Clone for StrategyBreakEvenInput
Source§fn clone(&self) -> StrategyBreakEvenInput
fn clone(&self) -> StrategyBreakEvenInput
Returns a duplicate of the value. Read more
1.0.0 · 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 StrategyBreakEvenInput
impl Debug for StrategyBreakEvenInput
Source§impl<'de> Deserialize<'de> for StrategyBreakEvenInput
impl<'de> Deserialize<'de> for StrategyBreakEvenInput
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 StrategyBreakEvenInput
impl PartialEq for StrategyBreakEvenInput
Source§impl Serialize for StrategyBreakEvenInput
impl Serialize for StrategyBreakEvenInput
impl StructuralPartialEq for StrategyBreakEvenInput
Auto Trait Implementations§
impl Freeze for StrategyBreakEvenInput
impl RefUnwindSafe for StrategyBreakEvenInput
impl Send for StrategyBreakEvenInput
impl Sync for StrategyBreakEvenInput
impl Unpin for StrategyBreakEvenInput
impl UnsafeUnpin for StrategyBreakEvenInput
impl UnwindSafe for StrategyBreakEvenInput
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