Struct RangeObservation
pub struct RangeObservation {
pub fixing_date: NaiveDate,
pub window: FixingWindow,
pub days: u32,
}Expand description
One fixing a range accrual observes, and how many calendar days read it.
Fields§
§fixing_date: NaiveDateThe fixing date: the latest business day on or before each day it covers.
window: FixingWindowThe index’s own rate window from the fixing’s value date.
days: u32The calendar days of the accrual period that observe this fixing.
Trait Implementations§
§impl Clone for RangeObservation
impl Clone for RangeObservation
§fn clone(&self) -> RangeObservation
fn clone(&self) -> RangeObservation
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 RangeObservation
§impl Debug for RangeObservation
impl Debug for RangeObservation
§impl PartialEq for RangeObservation
impl PartialEq for RangeObservation
§fn eq(&self, other: &RangeObservation) -> bool
fn eq(&self, other: &RangeObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RangeObservation
Auto Trait Implementations§
impl Freeze for RangeObservation
impl RefUnwindSafe for RangeObservation
impl Send for RangeObservation
impl Sync for RangeObservation
impl Unpin for RangeObservation
impl UnsafeUnpin for RangeObservation
impl UnwindSafe for RangeObservation
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