pub struct Dcf {
pub symbol: String,
pub date: String,
pub dcf: Option<f64>,
pub stock_price: Option<f64>,
}Expand description
DCF (Discounted Cash Flow) valuation model
Fields§
§symbol: StringStock symbol
date: StringDCF valuation date
dcf: Option<f64>Calculated DCF value
stock_price: Option<f64>Stock price at calculation time
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dcf
impl<'de> Deserialize<'de> for Dcf
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Dcf
impl RefUnwindSafe for Dcf
impl Send for Dcf
impl Sync for Dcf
impl Unpin for Dcf
impl UnwindSafe for Dcf
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