pub struct PmeSimulateResponse {
pub projected_margin: Option<f64>,
pub liquidation_price: Option<f64>,
pub risk_value: Option<f64>,
pub additional: HashMap<String, Value>,
}Expand description
Response for PME (Portfolio Margin Engine) simulation
Fields§
§projected_margin: Option<f64>Total projected margin
liquidation_price: Option<f64>Liquidation price estimate
risk_value: Option<f64>Risk metrics
additional: HashMap<String, Value>Additional PME data
Trait Implementations§
Source§impl Clone for PmeSimulateResponse
impl Clone for PmeSimulateResponse
Source§fn clone(&self) -> PmeSimulateResponse
fn clone(&self) -> PmeSimulateResponse
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 PmeSimulateResponse
impl Debug for PmeSimulateResponse
Source§impl<'de> Deserialize<'de> for PmeSimulateResponse
impl<'de> Deserialize<'de> for PmeSimulateResponse
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 PmeSimulateResponse
impl PartialEq for PmeSimulateResponse
Source§impl Serialize for PmeSimulateResponse
impl Serialize for PmeSimulateResponse
impl StructuralPartialEq for PmeSimulateResponse
Auto Trait Implementations§
impl Freeze for PmeSimulateResponse
impl RefUnwindSafe for PmeSimulateResponse
impl Send for PmeSimulateResponse
impl Sync for PmeSimulateResponse
impl Unpin for PmeSimulateResponse
impl UnsafeUnpin for PmeSimulateResponse
impl UnwindSafe for PmeSimulateResponse
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