Enum StrikeQuote
#[non_exhaustive]pub enum StrikeQuote {
Clean,
Dirty,
}Expand description
How a bond forward’s strike is quoted.
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.
Clean
Clean: the accrued at the forward date is added to the strike amount.
Dirty
Dirty: accrued-inclusive.
Trait Implementations§
§impl Clone for StrikeQuote
impl Clone for StrikeQuote
§fn clone(&self) -> StrikeQuote
fn clone(&self) -> StrikeQuote
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 StrikeQuote
§impl Debug for StrikeQuote
impl Debug for StrikeQuote
impl Eq for StrikeQuote
§impl PartialEq for StrikeQuote
impl PartialEq for StrikeQuote
impl StructuralPartialEq for StrikeQuote
Auto Trait Implementations§
impl Freeze for StrikeQuote
impl RefUnwindSafe for StrikeQuote
impl Send for StrikeQuote
impl Sync for StrikeQuote
impl Unpin for StrikeQuote
impl UnsafeUnpin for StrikeQuote
impl UnwindSafe for StrikeQuote
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