pub enum LookbackType {
FloatingStrike,
FixedStrike,
}Expand description
Lookback flavor: floating strike pays against the path extremum, fixed strike pays the extremum against a fixed strike.
Variants§
Trait Implementations§
Source§impl Clone for LookbackType
impl Clone for LookbackType
Source§fn clone(&self) -> LookbackType
fn clone(&self) -> LookbackType
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 moreimpl Copy for LookbackType
Source§impl Debug for LookbackType
impl Debug for LookbackType
impl Eq for LookbackType
Source§impl PartialEq for LookbackType
impl PartialEq for LookbackType
impl StructuralPartialEq for LookbackType
Auto Trait Implementations§
impl Freeze for LookbackType
impl RefUnwindSafe for LookbackType
impl Send for LookbackType
impl Sync for LookbackType
impl Unpin for LookbackType
impl UnsafeUnpin for LookbackType
impl UnwindSafe for LookbackType
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