Enum StubArg
pub(crate) enum StubArg {
Tenors((String, String)),
Name(String),
}Expand description
How a multi-reset coupon’s final short sub-period reads the index: a name
("index_tenor", "own_accrual") or the (shorter, longer) pair of
registered term indices an ISDA 2006 §8.3 interpolated stub blends.
Variants§
Tenors((String, String))
The two tenors of an interpolated stub.
Name(String)
A rule by name, parsed by the core.
Implementations§
Trait Implementations§
§impl<'py> FromPyObject<'py> for StubArg
impl<'py> FromPyObject<'py> for StubArg
§fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl Freeze for StubArg
impl RefUnwindSafe for StubArg
impl Send for StubArg
impl Sync for StubArg
impl Unpin for StubArg
impl UnsafeUnpin for StubArg
impl UnwindSafe for StubArg
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