pub struct PortfolioPerformanceDrawdown {
pub amount: Option<String>,
pub pct: Option<String>,
pub peak_at: Option<String>,
pub trough_at: Option<String>,
}Expand description
PortfolioPerformanceDrawdown
JSON schema
{
"type": "object",
"properties": {
"amount": {
"description": "Positive transfer-neutral loss magnitude",
"type": [
"string",
"null"
]
},
"pct": {
"description": "Peak-to-trough sampled-TWR percentage",
"type": [
"string",
"null"
]
},
"peakAt": {
"type": [
"string",
"null"
]
},
"troughAt": {
"type": [
"string",
"null"
]
}
}
}Fields§
§amount: Option<String>Positive transfer-neutral loss magnitude
pct: Option<String>Peak-to-trough sampled-TWR percentage
peak_at: Option<String>§trough_at: Option<String>Trait Implementations§
Source§impl Clone for PortfolioPerformanceDrawdown
impl Clone for PortfolioPerformanceDrawdown
Source§fn clone(&self) -> PortfolioPerformanceDrawdown
fn clone(&self) -> PortfolioPerformanceDrawdown
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 PortfolioPerformanceDrawdown
impl Debug for PortfolioPerformanceDrawdown
Source§impl<'de> Deserialize<'de> for PortfolioPerformanceDrawdown
impl<'de> Deserialize<'de> for PortfolioPerformanceDrawdown
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 PortfolioPerformanceDrawdown
impl RefUnwindSafe for PortfolioPerformanceDrawdown
impl Send for PortfolioPerformanceDrawdown
impl Sync for PortfolioPerformanceDrawdown
impl Unpin for PortfolioPerformanceDrawdown
impl UnsafeUnpin for PortfolioPerformanceDrawdown
impl UnwindSafe for PortfolioPerformanceDrawdown
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