Struct BusinessDayAdjustments
pub struct BusinessDayAdjustments {
pub convention: BusinessDayConvention,
pub calendar: Arc<dyn Calendar>,
}Expand description
A business-day-adjustment rule: a BusinessDayConvention paired with the
Calendar it adjusts against (FpML BusinessDayAdjustments).
Fields§
§convention: BusinessDayConventionThe roll convention to apply.
calendar: Arc<dyn Calendar>The calendar whose business days the convention rolls to.
Implementations§
Trait Implementations§
§impl Clone for BusinessDayAdjustments
impl Clone for BusinessDayAdjustments
§fn clone(&self) -> BusinessDayAdjustments
fn clone(&self) -> BusinessDayAdjustments
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BusinessDayAdjustments
impl !UnwindSafe for BusinessDayAdjustments
impl Freeze for BusinessDayAdjustments
impl Send for BusinessDayAdjustments
impl Sync for BusinessDayAdjustments
impl Unpin for BusinessDayAdjustments
impl UnsafeUnpin for BusinessDayAdjustments
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