Enum DocClause
#[non_exhaustive]pub enum DocClause {
CR14,
MR14,
MM14,
XR14,
}Expand description
The ISDA 2014 documentation clause a single-name contract trades under —
which restructuring events are credit events, spelled as the market
spells them (XR14: no restructuring, the North American standard;
MM14: modified-modified, the European standard; MR14: modified;
CR14: full restructuring).
Closed, and open to the earlier clauses when a contract needs them.
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.
CR14
Full restructuring, 2014 definitions.
MR14
Modified restructuring, 2014 definitions.
MM14
Modified-modified restructuring, 2014 definitions — the European standard.
XR14
No restructuring, 2014 definitions — the North American standard.
Implementations§
Trait Implementations§
impl Copy for DocClause
impl Eq for DocClause
§impl Ord for DocClause
impl Ord for DocClause
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for DocClause
impl PartialOrd for DocClause
impl StructuralPartialEq for DocClause
Auto Trait Implementations§
impl Freeze for DocClause
impl RefUnwindSafe for DocClause
impl Send for DocClause
impl Sync for DocClause
impl Unpin for DocClause
impl UnsafeUnpin for DocClause
impl UnwindSafe for DocClause
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