pub enum YieldType<'a> {
Show 35 variants
AfterTaxYield,
AnnualYield,
YieldAtIssue,
YieldToAverageMaturity,
BookYield,
YieldToNextCall,
YieldChangeSinceClose,
ClosingYield,
CompoundYield,
CurrentYield,
TrueGrossYield,
GvntEquivalentYield,
YieldWithInflationAssumption,
InverseFloaterBondYield,
MostRecentClosingYield,
ClosingYieldMostRecentMonth,
ClosingYieldMostRecentQuarter,
ClosingYieldMostRecentYear,
YieldToLongestAverageLife,
MarkToMarketYield,
YieldToMaturity,
YieldToNextRefund,
OpenAverageYield,
YieldToNextPut,
PreviousCloseYield,
ProceedsYield,
SemiAnnualYield,
YieldToShortestAverageLife,
SimpleYield,
TaxEquivalentYield,
YieldToTenderDate,
TrueYield,
YieldValueOf132,
YieldToWorst,
Unrecognized(&'a str),
}Variants§
AfterTaxYield
AnnualYield
YieldAtIssue
YieldToAverageMaturity
BookYield
YieldToNextCall
YieldChangeSinceClose
ClosingYield
CompoundYield
CurrentYield
TrueGrossYield
GvntEquivalentYield
YieldWithInflationAssumption
InverseFloaterBondYield
MostRecentClosingYield
ClosingYieldMostRecentMonth
ClosingYieldMostRecentQuarter
ClosingYieldMostRecentYear
YieldToLongestAverageLife
MarkToMarketYield
YieldToMaturity
YieldToNextRefund
OpenAverageYield
YieldToNextPut
PreviousCloseYield
ProceedsYield
SemiAnnualYield
YieldToShortestAverageLife
SimpleYield
TaxEquivalentYield
YieldToTenderDate
TrueYield
YieldValueOf132
YieldToWorst
Unrecognized(&'a str)
Implementations§
Trait Implementations§
impl<'a> Copy for YieldType<'a>
impl<'a> Eq for YieldType<'a>
impl<'a> StructuralPartialEq for YieldType<'a>
Auto Trait Implementations§
impl<'a> Freeze for YieldType<'a>
impl<'a> RefUnwindSafe for YieldType<'a>
impl<'a> Send for YieldType<'a>
impl<'a> Sync for YieldType<'a>
impl<'a> Unpin for YieldType<'a>
impl<'a> UnsafeUnpin for YieldType<'a>
impl<'a> UnwindSafe for YieldType<'a>
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