pub struct OptionArguments {
pub payoff: Option<Shared<dyn StrikedTypePayoff>>,
pub exercise: Option<Shared<dyn Exercise>>,
}Expand description
Basic option arguments (the C++ Option::arguments).
Fields§
§payoff: Option<Shared<dyn StrikedTypePayoff>>The payoff the option is written on.
exercise: Option<Shared<dyn Exercise>>The exercise schedule.
Trait Implementations§
Source§impl Arguments for OptionArguments
impl Arguments for OptionArguments
Source§impl Default for OptionArguments
impl Default for OptionArguments
Source§fn default() -> OptionArguments
fn default() -> OptionArguments
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for OptionArguments
impl !Send for OptionArguments
impl !Sync for OptionArguments
impl !UnwindSafe for OptionArguments
impl Freeze for OptionArguments
impl Unpin for OptionArguments
impl UnsafeUnpin for OptionArguments
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