pub struct MaxPnlFactors<T> {
pub deposit: T,
pub withdrawal: T,
pub trader: T,
pub adl: T,
}Available on crate features
test only.Expand description
Max PnL Factors.
Fields§
§deposit: TFor deposit.
withdrawal: TFor withdrawal.
trader: TFor trader.
adl: TFor ADL.
Trait Implementations§
Source§impl<T: Clone> Clone for MaxPnlFactors<T>
impl<T: Clone> Clone for MaxPnlFactors<T>
Source§fn clone(&self) -> MaxPnlFactors<T>
fn clone(&self) -> MaxPnlFactors<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for MaxPnlFactors<T>where
T: Freeze,
impl<T> RefUnwindSafe for MaxPnlFactors<T>where
T: RefUnwindSafe,
impl<T> Send for MaxPnlFactors<T>where
T: Send,
impl<T> Sync for MaxPnlFactors<T>where
T: Sync,
impl<T> Unpin for MaxPnlFactors<T>where
T: Unpin,
impl<T> UnwindSafe for MaxPnlFactors<T>where
T: UnwindSafe,
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