pub enum FloatFixingMethod {
RFRPaymentDelay {},
RFRObservationShift(i32),
RFRLockout(i32),
RFRLookback(i32),
RFRPaymentDelayAverage {},
RFRObservationShiftAverage(i32),
RFRLockoutAverage(i32),
RFRLookbackAverage(i32),
IBOR(i32),
}Expand description
Specifier for date adjustment rules.
Variants§
RFRPaymentDelay
RFR periods are settled with cashflow dates determined (separately as part of a Schedule) with a lag.
RFRObservationShift(i32)
RFR fixings and associated DCFs use values taken from ‘n’ business days prior.
RFRLockout(i32)
The final ‘n’ RFR fixings’ values are taken as the most recent published value.
RFRLookback(i32)
RFR fixings use values taken from ‘n’ business days prior (no DCF shift).
RFRPaymentDelayAverage
Uses arithmetic averaging instead compounding on the RFRPaymentDelay method.
RFRObservationShiftAverage(i32)
Uses arithmetic averaging instead compounding on the RFRObservationShift method.
RFRLockoutAverage(i32)
Uses arithmetic averaging instead compounding on the RFRLockout method.
RFRLookbackAverage(i32)
Uses arithmetic averaging instead compounding on the RFRLookback method.
IBOR(i32)
Uses a tenor IBOR type rate calculation with the fixing lagged by ‘n’ business days.
Implementations§
Source§impl FloatFixingMethod
impl FloatFixingMethod
Sourcepub fn method_param(&self) -> i32
pub fn method_param(&self) -> i32
Return a fixing lag parameter associated with the variant.
Trait Implementations§
Source§impl Clone for FloatFixingMethod
impl Clone for FloatFixingMethod
Source§fn clone(&self) -> FloatFixingMethod
fn clone(&self) -> FloatFixingMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FloatFixingMethod
impl Debug for FloatFixingMethod
Source§impl<'de> Deserialize<'de> for FloatFixingMethod
impl<'de> Deserialize<'de> for FloatFixingMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for FloatFixingMethod
impl PartialEq for FloatFixingMethod
Source§impl Serialize for FloatFixingMethod
impl Serialize for FloatFixingMethod
impl Copy for FloatFixingMethod
impl StructuralPartialEq for FloatFixingMethod
Auto Trait Implementations§
impl Freeze for FloatFixingMethod
impl RefUnwindSafe for FloatFixingMethod
impl Send for FloatFixingMethod
impl Sync for FloatFixingMethod
impl Unpin for FloatFixingMethod
impl UnwindSafe for FloatFixingMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.