pub enum YieldType {
Show 34 variants
AfterTaxYield,
AnnualYield,
YieldAtIssue,
YieldToAvgMaturity,
BookYield,
YieldToNextCall,
YieldChangeSinceClose,
ClosingYield,
CompoundYield,
CurrentYield,
GvntEquivalentYield,
TrueGrossYield,
YieldWithInflationAssumption,
InverseFloaterBondYield,
MostRecentClosingYield,
ClosingYieldMostRecentMonth,
ClosingYieldMostRecentQuarter,
ClosingYieldMostRecentYear,
YieldToLongestAverageLife,
MarkToMarketYield,
YieldToMaturity,
YieldToNextRefund,
OpenAverageYield,
PreviousCloseYield,
ProceedsYield,
YieldToNextPut,
SemiAnnualYield,
YieldToShortestAverageLife,
SimpleYield,
TaxEquivalentYield,
YieldToTenderDate,
TrueYield,
YieldValueOf132,
YieldToWorst,
}
Variants§
AfterTaxYield
Value “AFTERTAX”
AnnualYield
Value “ANNUAL”
YieldAtIssue
Value “ATISSUE”
YieldToAvgMaturity
Value “AVGMATURITY”
BookYield
Value “BOOK”
YieldToNextCall
Value “CALL”
YieldChangeSinceClose
Value “CHANGE”
ClosingYield
Value “CLOSE”
CompoundYield
Value “COMPOUND”
CurrentYield
Value “CURRENT”
GvntEquivalentYield
Value “GOVTEQUIV”
TrueGrossYield
Value “GROSS”
YieldWithInflationAssumption
Value “INFLATION”
InverseFloaterBondYield
Value “INVERSEFLOATER”
MostRecentClosingYield
Value “LASTCLOSE”
ClosingYieldMostRecentMonth
Value “LASTMONTH”
ClosingYieldMostRecentQuarter
Value “LASTQUARTER”
ClosingYieldMostRecentYear
Value “LASTYEAR”
YieldToLongestAverageLife
Value “LONGAVGLIFE”
MarkToMarketYield
Value “MARK”
YieldToMaturity
Value “MATURITY”
YieldToNextRefund
Value “NEXTREFUND”
OpenAverageYield
Value “OPENAVG”
PreviousCloseYield
Value “PREVCLOSE”
ProceedsYield
Value “PROCEEDS”
YieldToNextPut
Value “PUT”
SemiAnnualYield
Value “SEMIANNUAL”
YieldToShortestAverageLife
Value “SHORTAVGLIFE”
SimpleYield
Value “SIMPLE”
TaxEquivalentYield
Value “TAXEQUIV”
YieldToTenderDate
Value “TENDER”
TrueYield
Value “TRUE”
YieldValueOf132
Value “VALUE1_32”
YieldToWorst
Value “WORST”
Implementations§
Trait Implementations§
Source§impl ToFixString for YieldType
impl ToFixString for YieldType
fn to_fix_string(&self) -> FixString
impl Copy for YieldType
impl Eq for YieldType
impl StructuralPartialEq for YieldType
Auto Trait Implementations§
impl Freeze for YieldType
impl RefUnwindSafe for YieldType
impl Send for YieldType
impl Sync for YieldType
impl Unpin for YieldType
impl UnwindSafe for YieldType
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