Enum CmeMaturityRounding
pub enum CmeMaturityRounding {
Month,
Quarter,
}Expand description
How the CME counts a deliverable’s remaining months past whole years: rounded down to a quarter for the 10-year note, Ultra 10-year, bond and Ultra bond contracts, and to a whole month for the 2-, 3- and 5-year notes.
Variants§
Month
Whole months: the 2-, 3- and 5-year note contracts (TU, Z3N, FV).
Quarter
Whole quarters: the 10-year, Ultra 10-year, bond and Ultra bond contracts (TY, TN, US, UB).
Implementations§
§impl CmeMaturityRounding
impl CmeMaturityRounding
Trait Implementations§
§impl Clone for CmeMaturityRounding
impl Clone for CmeMaturityRounding
§fn clone(&self) -> CmeMaturityRounding
fn clone(&self) -> CmeMaturityRounding
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 CmeMaturityRounding
§impl Debug for CmeMaturityRounding
impl Debug for CmeMaturityRounding
impl Eq for CmeMaturityRounding
§impl FromStr for CmeMaturityRounding
impl FromStr for CmeMaturityRounding
§impl PartialEq for CmeMaturityRounding
impl PartialEq for CmeMaturityRounding
§fn eq(&self, other: &CmeMaturityRounding) -> bool
fn eq(&self, other: &CmeMaturityRounding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CmeMaturityRounding
Auto Trait Implementations§
impl Freeze for CmeMaturityRounding
impl RefUnwindSafe for CmeMaturityRounding
impl Send for CmeMaturityRounding
impl Sync for CmeMaturityRounding
impl Unpin for CmeMaturityRounding
impl UnsafeUnpin for CmeMaturityRounding
impl UnwindSafe for CmeMaturityRounding
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