Struct quantmath::risk::bumptime::BumpTime[][src]

pub struct BumpTime { /* fields omitted */ }

Bump that defines all the supported bumps to the spot date and ex-from date. This bump has to live in risk rather than data, because it affects all market data, not just one curve at a time.

Methods

impl BumpTime
[src]

Applies the bump to the list of instruments. If the list of instruments has not changed, it also applies the bump to the model. If the list of instruments has changed, the model will need to be completely rebuilt. In that case, the method returns true.

Creates a fixing table representing any fixings between the old and new spot dates, and applies it to the instruments, modifying the vector if necessary. If any have changed, returns true.

Trait Implementations

impl Clone for BumpTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BumpTime
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BumpTime

impl Sync for BumpTime