Struct NonDeliverable
pub struct NonDeliverable {
pub settlement: Currency,
pub fx_index: FixingSource,
pub conversions: Vec<Conversion>,
}Expand description
How a leg’s payments settle when they are not paid in the currency they
accrue in: each converted into settlement — a non-deliverable leg, as an
NDS’s two legs and an NDCCS’s reference leg are.
The conversions are contract terms, one per payment the leg makes (see
Leg::payment_dates), stored when the leg is built rather than derived
at pricing time — as an FxForward
stores its fixing date.
Fields§
§settlement: CurrencyThe currency the converted payments are made in.
fx_index: FixingSourceThe FX fixing: the pair’s canonical key with the settlement currency
as base (FX-USDKRW), or the cross of the reference currency’s key and
the settlement currency’s against USD.
conversions: Vec<Conversion>One conversion per payment, in the order of Leg::payment_dates.
Trait Implementations§
§impl Clone for NonDeliverable
impl Clone for NonDeliverable
§fn clone(&self) -> NonDeliverable
fn clone(&self) -> NonDeliverable
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 NonDeliverable
impl Debug for NonDeliverable
§impl PartialEq for NonDeliverable
impl PartialEq for NonDeliverable
impl StructuralPartialEq for NonDeliverable
Auto Trait Implementations§
impl Freeze for NonDeliverable
impl RefUnwindSafe for NonDeliverable
impl Send for NonDeliverable
impl Sync for NonDeliverable
impl Unpin for NonDeliverable
impl UnsafeUnpin for NonDeliverable
impl UnwindSafe for NonDeliverable
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