pub struct OptionsResult {
pub name: String,
pub underlying: UnderlyingResult,
pub traditional_npv: f64,
pub options: HashMap<String, OptionResult>,
pub total_option_value: f64,
pub project_value_with_options: f64,
pub decision: String,
pub recommendation: String,
}Expand description
Complete options analysis result
Fields§
§name: StringAnalysis name
underlying: UnderlyingResultUnderlying asset parameters
traditional_npv: f64Traditional NPV (without options)
options: HashMap<String, OptionResult>Individual option results
total_option_value: f64Total option value
project_value_with_options: f64Project value with options (NPV + option value)
decision: StringDecision recommendation
recommendation: StringDetailed recommendation
Implementations§
Trait Implementations§
Source§impl Clone for OptionsResult
impl Clone for OptionsResult
Source§fn clone(&self) -> OptionsResult
fn clone(&self) -> OptionsResult
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 OptionsResult
impl Debug for OptionsResult
Source§impl<'de> Deserialize<'de> for OptionsResult
impl<'de> Deserialize<'de> for OptionsResult
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
Auto Trait Implementations§
impl Freeze for OptionsResult
impl RefUnwindSafe for OptionsResult
impl Send for OptionsResult
impl Sync for OptionsResult
impl Unpin for OptionsResult
impl UnsafeUnpin for OptionsResult
impl UnwindSafe for OptionsResult
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