Struct LinkerInvoice
pub struct LinkerInvoice {
pub index_ratio: f64,
pub clean: f64,
pub accrued: f64,
pub dirty: f64,
}Expand description
What a linker actually settles at, per 100 nominal face.
A quoted real clean price is not what changes hands: the indexation scales it, and the accrued with it. This is the arithmetic between the screen and the cash.
Fields§
§index_ratio: f64The settlement index ratio applied, with the market’s rounding already in it.
clean: f64The indexed clean price: the real clean quote times the ratio.
accrued: f64The indexed accrued — negative when settlement is ex-dividend, as the real accrued is.
dirty: f64What settles: clean plus accrued.
Trait Implementations§
§impl Clone for LinkerInvoice
impl Clone for LinkerInvoice
§fn clone(&self) -> LinkerInvoice
fn clone(&self) -> LinkerInvoice
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 LinkerInvoice
§impl Debug for LinkerInvoice
impl Debug for LinkerInvoice
§impl PartialEq for LinkerInvoice
impl PartialEq for LinkerInvoice
impl StructuralPartialEq for LinkerInvoice
Auto Trait Implementations§
impl Freeze for LinkerInvoice
impl RefUnwindSafe for LinkerInvoice
impl Send for LinkerInvoice
impl Sync for LinkerInvoice
impl Unpin for LinkerInvoice
impl UnsafeUnpin for LinkerInvoice
impl UnwindSafe for LinkerInvoice
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