pub struct Schedule { /* private fields */ }Expand description
A generated sequence of dates partitioning [effective, termination].
Implementations§
Source§impl Schedule
impl Schedule
Sourcepub fn builder(
effective: Date,
termination: Date,
tenor: Period,
) -> ScheduleBuilder
pub fn builder( effective: Date, termination: Date, tenor: Period, ) -> ScheduleBuilder
Starts a ScheduleBuilder for the interval [effective, termination]
with the regular period tenor.
Sourcepub fn effective_date(&self) -> Date
pub fn effective_date(&self) -> Date
The first (effective) date.
Sourcepub fn termination_date(&self) -> Date
pub fn termination_date(&self) -> Date
The last (termination) date.
Trait Implementations§
impl Eq for Schedule
Source§impl<'a> IntoIterator for &'a Schedule
impl<'a> IntoIterator for &'a Schedule
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
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