Struct Callability
pub struct Callability {
pub kind: CallabilityType,
pub date: NaiveDate,
pub price: CallPrice,
}Expand description
One entry in an embedded-option schedule: the right (kind) to redeem on
date at price. Pure reference data — no curve, market, or model dependency
(a CallPrice::MakeWhole entry references a benchmark but resolves it only
at pricing time). Only European/Bermudan exercise is modelled (one entry per
exercisable date); American (continuous) exercise is out of scope.
Fields§
§kind: CallabilityTypeCall (issuer) or put (holder).
date: NaiveDateThe exercise date.
price: CallPriceThe redemption price per 100 face.
Trait Implementations§
§impl Clone for Callability
impl Clone for Callability
§fn clone(&self) -> Callability
fn clone(&self) -> Callability
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 more§impl Debug for Callability
impl Debug for Callability
§impl PartialEq for Callability
impl PartialEq for Callability
impl StructuralPartialEq for Callability
Auto Trait Implementations§
impl Freeze for Callability
impl RefUnwindSafe for Callability
impl Send for Callability
impl Sync for Callability
impl Unpin for Callability
impl UnsafeUnpin for Callability
impl UnwindSafe for Callability
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