pub struct CloseReasonStatsMsg {
pub reason: String,
pub count: usize,
pub total_pnl: f64,
pub avg_pnl: f64,
pub percentage: f64,
}Expand description
Wire-safe mirror of CloseReasonStats.
Fields§
§reason: String§count: usize§total_pnl: f64§avg_pnl: f64§percentage: f64Trait Implementations§
Source§impl Clone for CloseReasonStatsMsg
impl Clone for CloseReasonStatsMsg
Source§impl Debug for CloseReasonStatsMsg
impl Debug for CloseReasonStatsMsg
Source§impl<'de> Deserialize<'de> for CloseReasonStatsMsg
impl<'de> Deserialize<'de> for CloseReasonStatsMsg
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 CloseReasonStatsMsg
impl RefUnwindSafe for CloseReasonStatsMsg
impl Send for CloseReasonStatsMsg
impl Sync for CloseReasonStatsMsg
impl Unpin for CloseReasonStatsMsg
impl UnsafeUnpin for CloseReasonStatsMsg
impl UnwindSafe for CloseReasonStatsMsg
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