Struct AccrualAdjustment
pub struct AccrualAdjustment {
pub rule: PaymentRule,
pub unadjusted: Vec<NaiveDate>,
}Expand description
A bond’s rolled accrual: the roll, and the unadjusted boundaries
schedule was rolled from — what a schedule builder regenerates from, so
a grid is never rebuilt off dates that have already moved.
Fields§
§rule: PaymentRuleThe roll: a zero-length lag adjusting under a calendar and convention.
unadjusted: Vec<NaiveDate>The boundaries before the roll, issue first.
Trait Implementations§
§impl Clone for AccrualAdjustment
impl Clone for AccrualAdjustment
§fn clone(&self) -> AccrualAdjustment
fn clone(&self) -> AccrualAdjustment
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 more§impl Debug for AccrualAdjustment
impl Debug for AccrualAdjustment
§impl PartialEq for AccrualAdjustment
impl PartialEq for AccrualAdjustment
§fn eq(&self, other: &AccrualAdjustment) -> bool
fn eq(&self, other: &AccrualAdjustment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccrualAdjustment
Auto Trait Implementations§
impl !RefUnwindSafe for AccrualAdjustment
impl !UnwindSafe for AccrualAdjustment
impl Freeze for AccrualAdjustment
impl Send for AccrualAdjustment
impl Sync for AccrualAdjustment
impl Unpin for AccrualAdjustment
impl UnsafeUnpin for AccrualAdjustment
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