Enum DefaultPaymentTime
#[non_exhaustive]pub enum DefaultPaymentTime {
AtDefault,
AtPeriodEnd,
AtMaturity,
}Expand description
When a payment contingent on a default is made, and so discounted from, on a credit-linked swap.
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.
AtDefault
At the default itself: the integration interval’s midpoint stands in for the default time.
AtPeriodEnd
On the first scheduled payment date on or after the default.
AtMaturity
On the leg’s final payment date, whenever the default.
Implementations§
§impl DefaultPaymentTime
impl DefaultPaymentTime
Trait Implementations§
§impl Clone for DefaultPaymentTime
impl Clone for DefaultPaymentTime
§fn clone(&self) -> DefaultPaymentTime
fn clone(&self) -> DefaultPaymentTime
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 DefaultPaymentTime
§impl Debug for DefaultPaymentTime
impl Debug for DefaultPaymentTime
§impl Default for DefaultPaymentTime
impl Default for DefaultPaymentTime
§fn default() -> DefaultPaymentTime
fn default() -> DefaultPaymentTime
Returns the “default value” for a type. Read more
impl Eq for DefaultPaymentTime
§impl FromStr for DefaultPaymentTime
impl FromStr for DefaultPaymentTime
§impl PartialEq for DefaultPaymentTime
impl PartialEq for DefaultPaymentTime
§fn eq(&self, other: &DefaultPaymentTime) -> bool
fn eq(&self, other: &DefaultPaymentTime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DefaultPaymentTime
Auto Trait Implementations§
impl Freeze for DefaultPaymentTime
impl RefUnwindSafe for DefaultPaymentTime
impl Send for DefaultPaymentTime
impl Sync for DefaultPaymentTime
impl Unpin for DefaultPaymentTime
impl UnsafeUnpin for DefaultPaymentTime
impl UnwindSafe for DefaultPaymentTime
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