Enum FxSwapQuote
#[non_exhaustive]pub enum FxSwapQuote {
Outright(f64),
Points(f64),
}Expand description
How an FX-swap pillar is quoted: the far outright, or forward points over the spot, both in the pair’s quoting units (collateral per one foreign).
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.
Implementations§
§impl FxSwapQuote
impl FxSwapQuote
Trait Implementations§
§impl Clone for FxSwapQuote
impl Clone for FxSwapQuote
§fn clone(&self) -> FxSwapQuote
fn clone(&self) -> FxSwapQuote
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 FxSwapQuote
§impl Debug for FxSwapQuote
impl Debug for FxSwapQuote
§impl PartialEq for FxSwapQuote
impl PartialEq for FxSwapQuote
impl StructuralPartialEq for FxSwapQuote
Auto Trait Implementations§
impl Freeze for FxSwapQuote
impl RefUnwindSafe for FxSwapQuote
impl Send for FxSwapQuote
impl Sync for FxSwapQuote
impl Unpin for FxSwapQuote
impl UnsafeUnpin for FxSwapQuote
impl UnwindSafe for FxSwapQuote
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