pub struct ValuationStamp {
pub valuation_date: Date,
pub as_of: i64,
pub data_version: String,
}Expand description
Which inputs a valuation was produced from.
Carried out with every result so a number found in a report months later can be traced to the
data it came from. as_of is the market data snapshot, which is not the same as the valuation
date: revaluing an old date on today’s data and on that day’s data are different runs, and the
stamp is what tells them apart.
Fields§
§valuation_date: DateThe date being valued.
as_of: i64Unix timestamp of the market data snapshot the context was built from.
data_version: StringCaller-defined identifier of that input set — a snapshot id, a dataset version, a commit.
Trait Implementations§
Source§impl Clone for ValuationStamp
impl Clone for ValuationStamp
Source§fn clone(&self) -> ValuationStamp
fn clone(&self) -> ValuationStamp
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 moreSource§impl Debug for ValuationStamp
impl Debug for ValuationStamp
Source§impl<'de> Deserialize<'de> for ValuationStamp
impl<'de> Deserialize<'de> for ValuationStamp
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
impl Eq for ValuationStamp
Source§impl PartialEq for ValuationStamp
impl PartialEq for ValuationStamp
Source§impl Serialize for ValuationStamp
impl Serialize for ValuationStamp
impl StructuralPartialEq for ValuationStamp
Auto Trait Implementations§
impl Freeze for ValuationStamp
impl RefUnwindSafe for ValuationStamp
impl Send for ValuationStamp
impl Sync for ValuationStamp
impl Unpin for ValuationStamp
impl UnsafeUnpin for ValuationStamp
impl UnwindSafe for ValuationStamp
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