Enum LastTrading
#[non_exhaustive]pub enum LastTrading {
BusinessDayBeforeEnd,
FridayBeforeEnd,
TwoBusinessDaysBeforeStart,
LastBusinessDayOfMonth,
Unstated,
}Expand description
When a listed rate future stops trading, relative to the reference period
RateFuture::for_contract
resolves for its delivery month, on the template’s calendar.
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.
BusinessDayBeforeEnd
The business day before the reference period ends — CME SR3, ICE SONIA, Eurex SARON: a compounded contract cannot settle before its period is complete.
FridayBeforeEnd
The Friday before the reference period ends, or the business day before that Friday — Montréal Exchange CRA.
TwoBusinessDaysBeforeStart
Two business days before the reference period starts, the term rate’s fixing date — ICE 3M EURIBOR.
LastBusinessDayOfMonth
The last business day of the delivery month — CME SR1 and CBOT 30-day Fed Funds.
Unstated
Not sourced from the exchange, so not stated.
Trait Implementations§
§impl Clone for LastTrading
impl Clone for LastTrading
§fn clone(&self) -> LastTrading
fn clone(&self) -> LastTrading
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 LastTrading
§impl Debug for LastTrading
impl Debug for LastTrading
impl Eq for LastTrading
§impl PartialEq for LastTrading
impl PartialEq for LastTrading
impl StructuralPartialEq for LastTrading
Auto Trait Implementations§
impl Freeze for LastTrading
impl RefUnwindSafe for LastTrading
impl Send for LastTrading
impl Sync for LastTrading
impl Unpin for LastTrading
impl UnsafeUnpin for LastTrading
impl UnwindSafe for LastTrading
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