Enum RepoTier
#[non_exhaustive]pub enum RepoTier {
Security,
Group,
Currency,
}Expand description
Which tier of the repo resolution supplied a deliverable’s carry curve.
None on a row means the documented discount-curve fallback.
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.
Security
A repo curve keyed by the deliverable’s own ISIN.
Group
A repo curve keyed by the security’s repo group.
Currency
A repo curve keyed by the currency — general collateral.
Implementations§
Trait Implementations§
impl Copy for RepoTier
impl Eq for RepoTier
impl StructuralPartialEq for RepoTier
Auto Trait Implementations§
impl Freeze for RepoTier
impl RefUnwindSafe for RepoTier
impl Send for RepoTier
impl Sync for RepoTier
impl Unpin for RepoTier
impl UnsafeUnpin for RepoTier
impl UnwindSafe for RepoTier
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