pub enum ContractStyle {
European,
American,
Bermudan(Vec<f64>),
}Variants§
European
American
Bermudan(Vec<f64>)
Exercisable only at the given times (year fractions from
valuation, strictly increasing). Expiry is always an exercise
opportunity through the terminal payoff; the listed times are the
intermediate rights, e.g. from a business-day adjusted
Schedule.
Trait Implementations§
Source§impl Clone for ContractStyle
impl Clone for ContractStyle
Source§fn clone(&self) -> ContractStyle
fn clone(&self) -> ContractStyle
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 ContractStyle
impl Debug for ContractStyle
Source§impl PartialEq for ContractStyle
impl PartialEq for ContractStyle
impl StructuralPartialEq for ContractStyle
Auto Trait Implementations§
impl Freeze for ContractStyle
impl RefUnwindSafe for ContractStyle
impl Send for ContractStyle
impl Sync for ContractStyle
impl Unpin for ContractStyle
impl UnsafeUnpin for ContractStyle
impl UnwindSafe for ContractStyle
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