Enum FutureReference
#[non_exhaustive]pub enum FutureReference {
ImmQuarter,
CalendarMonth,
}Expand description
How a listed rate future’s reference period is set from its delivery month.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ImmQuarter
From the third Wednesday of the delivery month to the third Wednesday three months later, the delivery month being March, June, September or December — CME SR3, ICE SONIA and EURIBOR, and the other quarterly contracts.
CalendarMonth
The delivery month itself, first day to first day of the next — CME SR1 and the 30-day Fed Funds contract.
Trait Implementations§
§impl Clone for FutureReference
impl Clone for FutureReference
§fn clone(&self) -> FutureReference
fn clone(&self) -> FutureReference
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 FutureReference
§impl Debug for FutureReference
impl Debug for FutureReference
impl Eq for FutureReference
§impl PartialEq for FutureReference
impl PartialEq for FutureReference
impl StructuralPartialEq for FutureReference
Auto Trait Implementations§
impl Freeze for FutureReference
impl RefUnwindSafe for FutureReference
impl Send for FutureReference
impl Sync for FutureReference
impl Unpin for FutureReference
impl UnsafeUnpin for FutureReference
impl UnwindSafe for FutureReference
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