Enum WindowArg
pub(crate) enum WindowArg {
Dates((NaiveDate, NaiveDate)),
Named(String),
}Expand description
The window an IBOR coupon’s rate spans: explicit dates, or a name the
registered index resolves ("value_dates").
Variants§
Trait Implementations§
§impl<'py> FromPyObject<'py> for WindowArg
impl<'py> FromPyObject<'py> for WindowArg
§fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl Freeze for WindowArg
impl RefUnwindSafe for WindowArg
impl Send for WindowArg
impl Sync for WindowArg
impl Unpin for WindowArg
impl UnsafeUnpin for WindowArg
impl UnwindSafe for WindowArg
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