Enum SabrRegistry
#[non_exhaustive]pub enum SabrRegistry {
Swaption,
Cap,
}Expand description
Which rate registry a SABR surface is pinned in — what its risk keys name.
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.
Implementations§
§impl SabrRegistry
impl SabrRegistry
Trait Implementations§
§impl Clone for SabrRegistry
impl Clone for SabrRegistry
§fn clone(&self) -> SabrRegistry
fn clone(&self) -> SabrRegistry
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 SabrRegistry
§impl Debug for SabrRegistry
impl Debug for SabrRegistry
impl Eq for SabrRegistry
§impl FromStr for SabrRegistry
impl FromStr for SabrRegistry
§impl Hash for SabrRegistry
impl Hash for SabrRegistry
§impl Ord for SabrRegistry
impl Ord for SabrRegistry
§fn cmp(&self, other: &SabrRegistry) -> Ordering
fn cmp(&self, other: &SabrRegistry) -> Ordering
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 PartialEq for SabrRegistry
impl PartialEq for SabrRegistry
§impl PartialOrd for SabrRegistry
impl PartialOrd for SabrRegistry
impl StructuralPartialEq for SabrRegistry
Auto Trait Implementations§
impl Freeze for SabrRegistry
impl RefUnwindSafe for SabrRegistry
impl Send for SabrRegistry
impl Sync for SabrRegistry
impl Unpin for SabrRegistry
impl UnsafeUnpin for SabrRegistry
impl UnwindSafe for SabrRegistry
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