Enum CouponType
pub enum CouponType {
Fixed,
Float,
Struct,
}Expand description
The coupon type of a debt security (FpML couponType coding scheme).
Suffix retained under clause 3 of the enum naming rule: the bare noun
Coupon is already taken by the accrual trait.
Variants§
Fixed
A fixed coupon rate.
Float
A floating coupon (an index plus a spread).
Struct
A structured coupon.
Implementations§
§impl CouponType
impl CouponType
Trait Implementations§
§impl Clone for CouponType
impl Clone for CouponType
§fn clone(&self) -> CouponType
fn clone(&self) -> CouponType
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 CouponType
§impl Debug for CouponType
impl Debug for CouponType
impl Eq for CouponType
§impl FromStr for CouponType
impl FromStr for CouponType
§impl Hash for CouponType
impl Hash for CouponType
§impl PartialEq for CouponType
impl PartialEq for CouponType
impl StructuralPartialEq for CouponType
Auto Trait Implementations§
impl Freeze for CouponType
impl RefUnwindSafe for CouponType
impl Send for CouponType
impl Sync for CouponType
impl Unpin for CouponType
impl UnsafeUnpin for CouponType
impl UnwindSafe for CouponType
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