pub enum MonthEndConvention {
ModifiedFollowing,
Preceding,
Following,
EndOfMonth,
}Expand description
Convention for handling month-end settlement dates.
Variants§
ModifiedFollowing
Move to the following business day; if that’s in the next month, move to preceding
Preceding
Move to the preceding business day
Following
Move to the following business day
EndOfMonth
Always use the last business day of the month
Trait Implementations§
Source§impl Clone for MonthEndConvention
impl Clone for MonthEndConvention
Source§fn clone(&self) -> MonthEndConvention
fn clone(&self) -> MonthEndConvention
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MonthEndConvention
impl Debug for MonthEndConvention
Source§impl Default for MonthEndConvention
impl Default for MonthEndConvention
Source§fn default() -> MonthEndConvention
fn default() -> MonthEndConvention
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonthEndConvention
impl<'de> Deserialize<'de> for MonthEndConvention
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
Source§impl PartialEq for MonthEndConvention
impl PartialEq for MonthEndConvention
Source§impl Serialize for MonthEndConvention
impl Serialize for MonthEndConvention
impl Copy for MonthEndConvention
impl Eq for MonthEndConvention
impl StructuralPartialEq for MonthEndConvention
Auto Trait Implementations§
impl Freeze for MonthEndConvention
impl RefUnwindSafe for MonthEndConvention
impl Send for MonthEndConvention
impl Sync for MonthEndConvention
impl Unpin for MonthEndConvention
impl UnsafeUnpin for MonthEndConvention
impl UnwindSafe for MonthEndConvention
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.