pub enum ScheduleStub {
ShortFirst,
LongFirst,
ShortLast,
LongLast,
}Expand description
Where the period that does not fit the regular frequency is placed, and whether it is shorter or longer than a regular one.
Variants§
ShortFirst
Generate backward from maturity; a leftover front period stays as a short first period. The default, and by far the most common arrangement for a fixed-rate bond.
LongFirst
Generate backward from maturity; a leftover front period is absorbed into the following one, making a long first period.
ShortLast
Generate forward from issue; a leftover final period stays as a short last period.
LongLast
Generate forward from issue; a leftover final period is absorbed into the preceding one, making a long last period.
Trait Implementations§
Source§impl Clone for ScheduleStub
impl Clone for ScheduleStub
Source§fn clone(&self) -> ScheduleStub
fn clone(&self) -> ScheduleStub
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 ScheduleStub
Source§impl Debug for ScheduleStub
impl Debug for ScheduleStub
Source§impl Default for ScheduleStub
impl Default for ScheduleStub
Source§fn default() -> ScheduleStub
fn default() -> ScheduleStub
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScheduleStub
impl<'de> Deserialize<'de> for ScheduleStub
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScheduleStub
Source§impl Hash for ScheduleStub
impl Hash for ScheduleStub
Source§impl PartialEq for ScheduleStub
impl PartialEq for ScheduleStub
Source§impl Serialize for ScheduleStub
impl Serialize for ScheduleStub
impl StructuralPartialEq for ScheduleStub
Auto Trait Implementations§
impl Freeze for ScheduleStub
impl RefUnwindSafe for ScheduleStub
impl Send for ScheduleStub
impl Sync for ScheduleStub
impl Unpin for ScheduleStub
impl UnsafeUnpin for ScheduleStub
impl UnwindSafe for ScheduleStub
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