Enum Diagnostics
#[non_exhaustive]pub enum Diagnostics {
BondOption(BondOptionDiagnostics),
BondFutureOption(BondFutureOptionDiagnostics),
FxOption(FxOptionDiagnostics),
Cds(CdsDiagnostics),
CreditLinkedSwap(CreditLinkedSwapDiagnostics),
}Expand description
What a product’s valuation resolved to on a market, one variant per product that states it: the inputs and parts its value is built from.
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.
BondOption(BondOptionDiagnostics)
A bond option under the yield-vol engine.
BondFutureOption(BondFutureOptionDiagnostics)
An option on a bond future.
FxOption(FxOptionDiagnostics)
An FX option.
Cds(CdsDiagnostics)
A single-name credit default swap.
CreditLinkedSwap(CreditLinkedSwapDiagnostics)
A credit-linked swap.
Trait Implementations§
§impl Clone for Diagnostics
impl Clone for Diagnostics
§fn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
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 Diagnostics
§impl Debug for Diagnostics
impl Debug for Diagnostics
§impl PartialEq for Diagnostics
impl PartialEq for Diagnostics
impl StructuralPartialEq for Diagnostics
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnsafeUnpin for Diagnostics
impl UnwindSafe for Diagnostics
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