Enum RepoAmount
pub enum RepoAmount {
Nominal(f64),
Cash(f64),
}Expand description
How much a repo is for: the collateral’s face, the cash following at the price and margin ratio, or the cash, the face following.
Variants§
Trait Implementations§
§impl Clone for RepoAmount
impl Clone for RepoAmount
§fn clone(&self) -> RepoAmount
fn clone(&self) -> RepoAmount
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 RepoAmount
§impl Debug for RepoAmount
impl Debug for RepoAmount
§impl PartialEq for RepoAmount
impl PartialEq for RepoAmount
impl StructuralPartialEq for RepoAmount
Auto Trait Implementations§
impl Freeze for RepoAmount
impl RefUnwindSafe for RepoAmount
impl Send for RepoAmount
impl Sync for RepoAmount
impl Unpin for RepoAmount
impl UnsafeUnpin for RepoAmount
impl UnwindSafe for RepoAmount
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