Enum RepoRate
pub enum RepoRate {
Fixed(f64),
Floating {
index: String,
spread: f64,
},
}Expand description
The rate the cash accrues at.
Variants§
Fixed(f64)
A fixed simple rate, as a decimal.
Floating
A compounded overnight index plus a simple spread, as decimals.
Trait Implementations§
impl StructuralPartialEq for RepoRate
Auto Trait Implementations§
impl Freeze for RepoRate
impl RefUnwindSafe for RepoRate
impl Send for RepoRate
impl Sync for RepoRate
impl Unpin for RepoRate
impl UnsafeUnpin for RepoRate
impl UnwindSafe for RepoRate
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