#[non_exhaustive]pub enum SettlementMode {
Linear,
Inverse,
}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.
Trait Implementations§
Source§impl Clone for SettlementMode
impl Clone for SettlementMode
Source§fn clone(&self) -> SettlementMode
fn clone(&self) -> SettlementMode
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 moreSource§impl Debug for SettlementMode
impl Debug for SettlementMode
Source§impl Display for SettlementMode
impl Display for SettlementMode
Source§impl FromStr for SettlementMode
impl FromStr for SettlementMode
Source§impl Hash for SettlementMode
impl Hash for SettlementMode
Source§impl Ord for SettlementMode
impl Ord for SettlementMode
Source§fn cmp(&self, other: &SettlementMode) -> Ordering
fn cmp(&self, other: &SettlementMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SettlementMode
impl PartialEq for SettlementMode
Source§fn eq(&self, other: &SettlementMode) -> bool
fn eq(&self, other: &SettlementMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SettlementMode
impl PartialOrd for SettlementMode
impl Copy for SettlementMode
impl Eq for SettlementMode
impl StructuralPartialEq for SettlementMode
Auto Trait Implementations§
impl Freeze for SettlementMode
impl RefUnwindSafe for SettlementMode
impl Send for SettlementMode
impl Sync for SettlementMode
impl Unpin for SettlementMode
impl UnsafeUnpin for SettlementMode
impl UnwindSafe for SettlementMode
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