Enum MeetingLocator
#[non_exhaustive]pub enum MeetingLocator {
Window {
start: NaiveDate,
end: NaiveDate,
},
Ordinal(u32),
Meeting(NaiveDate),
}Expand description
Which window a meeting-dated swap covers.
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.
Window
An explicit window, start to end.
Fields
Ordinal(u32)
The n-th seeded meeting strictly after the valuation date (1-based),
closing at the next.
Meeting(NaiveDate)
The seeded meeting on date, closing at the next.
Trait Implementations§
§impl Clone for MeetingLocator
impl Clone for MeetingLocator
§fn clone(&self) -> MeetingLocator
fn clone(&self) -> MeetingLocator
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 MeetingLocator
§impl Debug for MeetingLocator
impl Debug for MeetingLocator
impl Eq for MeetingLocator
§impl PartialEq for MeetingLocator
impl PartialEq for MeetingLocator
impl StructuralPartialEq for MeetingLocator
Auto Trait Implementations§
impl Freeze for MeetingLocator
impl RefUnwindSafe for MeetingLocator
impl Send for MeetingLocator
impl Sync for MeetingLocator
impl Unpin for MeetingLocator
impl UnsafeUnpin for MeetingLocator
impl UnwindSafe for MeetingLocator
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