Enum BondOptionEngine
pub enum BondOptionEngine {
YieldVol,
HullWhite,
}Expand description
Which model a bond option prices under.
Variants§
YieldVol
A yield vol off the currency’s bond yield vol surface, converted to a price vol by the forward’s duration.
HullWhite
The Jamshidian decomposition under the currency’s Hull-White parameters.
Implementations§
§impl BondOptionEngine
impl BondOptionEngine
Trait Implementations§
§impl Clone for BondOptionEngine
impl Clone for BondOptionEngine
§fn clone(&self) -> BondOptionEngine
fn clone(&self) -> BondOptionEngine
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 BondOptionEngine
§impl Debug for BondOptionEngine
impl Debug for BondOptionEngine
§impl Default for BondOptionEngine
impl Default for BondOptionEngine
§fn default() -> BondOptionEngine
fn default() -> BondOptionEngine
Returns the “default value” for a type. Read more
impl Eq for BondOptionEngine
§impl FromStr for BondOptionEngine
impl FromStr for BondOptionEngine
§impl PartialEq for BondOptionEngine
impl PartialEq for BondOptionEngine
§fn eq(&self, other: &BondOptionEngine) -> bool
fn eq(&self, other: &BondOptionEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BondOptionEngine
Auto Trait Implementations§
impl Freeze for BondOptionEngine
impl RefUnwindSafe for BondOptionEngine
impl Send for BondOptionEngine
impl Sync for BondOptionEngine
impl Unpin for BondOptionEngine
impl UnsafeUnpin for BondOptionEngine
impl UnwindSafe for BondOptionEngine
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