pub struct ChangeInNAV {
pub account_id: String,
pub from_date: NaiveDate,
pub to_date: NaiveDate,
pub starting_value: Decimal,
pub transfers: Option<Decimal>,
pub mtm_plus_realized_pnl: Option<Decimal>,
pub realized_pnl: Option<Decimal>,
pub unrealized_pnl: Option<Decimal>,
pub ending_value: Decimal,
}Expand description
Change in portfolio NAV (Net Asset Value)
Fields§
§account_id: StringAccount ID
from_date: NaiveDateFrom date
to_date: NaiveDateTo date
starting_value: DecimalStarting value
transfers: Option<Decimal>Transfers (deposits/withdrawals)
mtm_plus_realized_pnl: Option<Decimal>Mark-to-market P&L
realized_pnl: Option<Decimal>Realized P&L
unrealized_pnl: Option<Decimal>Unrealized P&L
ending_value: DecimalEnding value
Trait Implementations§
Source§impl Clone for ChangeInNAV
impl Clone for ChangeInNAV
Source§fn clone(&self) -> ChangeInNAV
fn clone(&self) -> ChangeInNAV
Returns a duplicate of the value. Read more
1.0.0 · 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 ChangeInNAV
impl Debug for ChangeInNAV
Source§impl<'de> Deserialize<'de> for ChangeInNAV
impl<'de> Deserialize<'de> for ChangeInNAV
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
Source§impl PartialEq for ChangeInNAV
impl PartialEq for ChangeInNAV
Source§impl Serialize for ChangeInNAV
impl Serialize for ChangeInNAV
impl StructuralPartialEq for ChangeInNAV
Auto Trait Implementations§
impl Freeze for ChangeInNAV
impl RefUnwindSafe for ChangeInNAV
impl Send for ChangeInNAV
impl Sync for ChangeInNAV
impl Unpin for ChangeInNAV
impl UnwindSafe for ChangeInNAV
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