pub struct BatesParams {
pub heston: HestonParams,
pub jumps: MertonJumps,
}Expand description
Bates (1996): Heston diffusion plus lognormal jumps.
Fields§
§heston: HestonParams§jumps: MertonJumpsImplementations§
Source§impl BatesParams
impl BatesParams
pub fn validate(&self) -> Result<(), RustyQLibError>
Trait Implementations§
Source§impl Clone for BatesParams
impl Clone for BatesParams
Source§fn clone(&self) -> BatesParams
fn clone(&self) -> BatesParams
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 BatesParams
Source§impl Debug for BatesParams
impl Debug for BatesParams
Source§impl<'de> Deserialize<'de> for BatesParams
impl<'de> Deserialize<'de> for BatesParams
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 BatesParams
impl RefUnwindSafe for BatesParams
impl Send for BatesParams
impl Sync for BatesParams
impl Unpin for BatesParams
impl UnsafeUnpin for BatesParams
impl UnwindSafe for BatesParams
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