pub struct FxLot {Show 14 fields
pub account_id: String,
pub acct_alias: Option<String>,
pub model: Option<String>,
pub asset_category: Option<String>,
pub report_date: Option<NaiveDate>,
pub functional_currency: Option<String>,
pub fx_currency: Option<String>,
pub quantity: Option<Decimal>,
pub cost_price: Option<Decimal>,
pub cost_basis: Option<Decimal>,
pub close_price: Option<Decimal>,
pub value: Option<Decimal>,
pub unrealized_pl: Option<Decimal>,
pub level_of_detail: Option<String>,
}Expand description
FX position lot detail
Fields§
§account_id: StringAccount ID
acct_alias: Option<String>Account alias
model: Option<String>Model
asset_category: Option<String>Asset category
report_date: Option<NaiveDate>Report date
functional_currency: Option<String>Functional currency
fx_currency: Option<String>FX currency
quantity: Option<Decimal>Quantity
cost_price: Option<Decimal>Cost price
cost_basis: Option<Decimal>Cost basis
close_price: Option<Decimal>Close price
value: Option<Decimal>Value
unrealized_pl: Option<Decimal>Unrealized P&L
level_of_detail: Option<String>Level of detail
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FxLot
impl<'de> Deserialize<'de> for FxLot
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 StructuralPartialEq for FxLot
Auto Trait Implementations§
impl Freeze for FxLot
impl RefUnwindSafe for FxLot
impl Send for FxLot
impl Sync for FxLot
impl Unpin for FxLot
impl UnwindSafe for FxLot
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