Enum SettlementLagUnit
pub enum SettlementLagUnit {
BusinessDays,
CalendarDays,
}Expand description
The unit a SettlementLag counts its offset in.
Variants§
BusinessDays
Each step is a good business day on the business calendar.
CalendarDays
A raw calendar-day offset, settled afterwards.
Implementations§
§impl SettlementLagUnit
impl SettlementLagUnit
Trait Implementations§
§impl Clone for SettlementLagUnit
impl Clone for SettlementLagUnit
§fn clone(&self) -> SettlementLagUnit
fn clone(&self) -> SettlementLagUnit
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 SettlementLagUnit
§impl Debug for SettlementLagUnit
impl Debug for SettlementLagUnit
impl Eq for SettlementLagUnit
§impl FromStr for SettlementLagUnit
impl FromStr for SettlementLagUnit
§impl Hash for SettlementLagUnit
impl Hash for SettlementLagUnit
§impl PartialEq for SettlementLagUnit
impl PartialEq for SettlementLagUnit
§fn eq(&self, other: &SettlementLagUnit) -> bool
fn eq(&self, other: &SettlementLagUnit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SettlementLagUnit
Auto Trait Implementations§
impl Freeze for SettlementLagUnit
impl RefUnwindSafe for SettlementLagUnit
impl Send for SettlementLagUnit
impl Sync for SettlementLagUnit
impl Unpin for SettlementLagUnit
impl UnsafeUnpin for SettlementLagUnit
impl UnwindSafe for SettlementLagUnit
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