Enum PaymentLagUnit
#[non_exhaustive]pub enum PaymentLagUnit {
BusinessDays,
Days,
Weeks,
Months,
Years,
}Expand description
The unit a LagAdjustment’s offset is measured in.
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.
BusinessDays
Good business days on the adjustment calendar — the IRS payment-lag and FX spot-lag shape.
Days
Calendar days.
Weeks
Calendar weeks.
Months
Calendar months.
Years
Calendar years.
Trait Implementations§
§impl Clone for PaymentLagUnit
impl Clone for PaymentLagUnit
§fn clone(&self) -> PaymentLagUnit
fn clone(&self) -> PaymentLagUnit
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 PaymentLagUnit
§impl Debug for PaymentLagUnit
impl Debug for PaymentLagUnit
impl Eq for PaymentLagUnit
§impl Hash for PaymentLagUnit
impl Hash for PaymentLagUnit
§impl PartialEq for PaymentLagUnit
impl PartialEq for PaymentLagUnit
impl StructuralPartialEq for PaymentLagUnit
Auto Trait Implementations§
impl Freeze for PaymentLagUnit
impl RefUnwindSafe for PaymentLagUnit
impl Send for PaymentLagUnit
impl Sync for PaymentLagUnit
impl Unpin for PaymentLagUnit
impl UnsafeUnpin for PaymentLagUnit
impl UnwindSafe for PaymentLagUnit
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