Enum Settlement
#[non_exhaustive]pub enum Settlement {
Physical,
Cash {
index: FixingSource,
fixing_date: NaiveDate,
settle: Currency,
},
}Expand description
How a forward settles.
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.
Physical
Both currency amounts exchanged gross.
Cash
Netted at a published fixing and paid as one cashflow in settle.
Trait Implementations§
§impl Clone for Settlement
impl Clone for Settlement
§fn clone(&self) -> Settlement
fn clone(&self) -> Settlement
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 more§impl Debug for Settlement
impl Debug for Settlement
§impl PartialEq for Settlement
impl PartialEq for Settlement
impl StructuralPartialEq for Settlement
Auto Trait Implementations§
impl Freeze for Settlement
impl RefUnwindSafe for Settlement
impl Send for Settlement
impl Sync for Settlement
impl Unpin for Settlement
impl UnsafeUnpin for Settlement
impl UnwindSafe for Settlement
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