Enum RepackRole
pub enum RepackRole {
SwapCounterparty,
Noteholder,
}Expand description
Who holds the booked note.
Variants§
SwapCounterparty
The bank’s swap facing the SPV: the swap less the gap.
Noteholder
The notes, per unit notional: the collateral less the swap plus the gap.
Implementations§
§impl RepackRole
impl RepackRole
Trait Implementations§
§impl Clone for RepackRole
impl Clone for RepackRole
§fn clone(&self) -> RepackRole
fn clone(&self) -> RepackRole
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 RepackRole
§impl Debug for RepackRole
impl Debug for RepackRole
§impl Default for RepackRole
impl Default for RepackRole
§fn default() -> RepackRole
fn default() -> RepackRole
Returns the “default value” for a type. Read more
impl Eq for RepackRole
§impl FromStr for RepackRole
impl FromStr for RepackRole
§impl PartialEq for RepackRole
impl PartialEq for RepackRole
impl StructuralPartialEq for RepackRole
Auto Trait Implementations§
impl Freeze for RepackRole
impl RefUnwindSafe for RepackRole
impl Send for RepackRole
impl Sync for RepackRole
impl Unpin for RepackRole
impl UnsafeUnpin for RepackRole
impl UnwindSafe for RepackRole
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