Struct UkDmoSnapshot
struct UkDmoSnapshot {
r_over_s: f64,
n: usize,
u: f64,
u_pow_ros: f64,
a: f64,
c: f64,
d1: f64,
d2: f64,
single_d1: f64,
redemption: f64,
}Expand description
The yield-independent inputs to the DMO case formula.
Snapshotted once so a solve over the real yield is pure arithmetic — the same shape the OAS and discount-margin solves use, and for the same reason: the geometry, the RPI scans and the dividends do not move with the trial yield.
Fields§
§r_over_s: f64§n: usize§u: f64§u_pow_ros: f64§a: f64§c: f64§d1: f64§d2: f64§single_d1: f64§redemption: f64Trait Implementations§
§impl Clone for UkDmoSnapshot
impl Clone for UkDmoSnapshot
§fn clone(&self) -> UkDmoSnapshot
fn clone(&self) -> UkDmoSnapshot
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 UkDmoSnapshot
Auto Trait Implementations§
impl Freeze for UkDmoSnapshot
impl RefUnwindSafe for UkDmoSnapshot
impl Send for UkDmoSnapshot
impl Sync for UkDmoSnapshot
impl Unpin for UkDmoSnapshot
impl UnsafeUnpin for UkDmoSnapshot
impl UnwindSafe for UkDmoSnapshot
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