pub struct RiskFreeRateCache { /* private fields */ }Implementations§
Source§impl RiskFreeRateCache
impl RiskFreeRateCache
pub fn new() -> Arc<Self>
pub fn set_snapshot(&self, snapshot: RiskFreeRateSnapshot)
pub fn snapshot(&self) -> Option<RiskFreeRateSnapshot>
pub fn rate_cpp_units(&self, market: RiskFreeRateMarket) -> Option<f64>
Trait Implementations§
Source§impl Debug for RiskFreeRateCache
impl Debug for RiskFreeRateCache
Source§impl Default for RiskFreeRateCache
impl Default for RiskFreeRateCache
Source§fn default() -> RiskFreeRateCache
fn default() -> RiskFreeRateCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RiskFreeRateCache
impl !RefUnwindSafe for RiskFreeRateCache
impl Send for RiskFreeRateCache
impl Sync for RiskFreeRateCache
impl Unpin for RiskFreeRateCache
impl UnsafeUnpin for RiskFreeRateCache
impl UnwindSafe for RiskFreeRateCache
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