pub struct PortfolioAllocationsAssetClass {
pub long: Option<HashMap<String, f64>>,
pub short: Option<HashMap<String, f64>>,
}Expand description
Object containing values of positions sorted by long/short and asset class.
Fields§
§long: Option<HashMap<String, f64>>Object containing value of long positions in the account aggregated by asset class.
short: Option<HashMap<String, f64>>Object containing value of short positions in the account aggregated by asset class.
Trait Implementations§
Source§impl Clone for PortfolioAllocationsAssetClass
impl Clone for PortfolioAllocationsAssetClass
Source§fn clone(&self) -> PortfolioAllocationsAssetClass
fn clone(&self) -> PortfolioAllocationsAssetClass
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<'de> Deserialize<'de> for PortfolioAllocationsAssetClass
impl<'de> Deserialize<'de> for PortfolioAllocationsAssetClass
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 PortfolioAllocationsAssetClass
impl PartialEq for PortfolioAllocationsAssetClass
Source§fn eq(&self, other: &PortfolioAllocationsAssetClass) -> bool
fn eq(&self, other: &PortfolioAllocationsAssetClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PortfolioAllocationsAssetClass
Auto Trait Implementations§
impl Freeze for PortfolioAllocationsAssetClass
impl RefUnwindSafe for PortfolioAllocationsAssetClass
impl Send for PortfolioAllocationsAssetClass
impl Sync for PortfolioAllocationsAssetClass
impl Unpin for PortfolioAllocationsAssetClass
impl UnsafeUnpin for PortfolioAllocationsAssetClass
impl UnwindSafe for PortfolioAllocationsAssetClass
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