pub struct StreakStatsMsg {
pub max_consecutive_wins: u32,
pub max_consecutive_losses: u32,
pub current_streak: i32,
}Expand description
Wire-safe mirror of StreakStats.
Fields§
§max_consecutive_wins: u32§max_consecutive_losses: u32§current_streak: i32Trait Implementations§
Source§impl Clone for StreakStatsMsg
impl Clone for StreakStatsMsg
Source§impl Debug for StreakStatsMsg
impl Debug for StreakStatsMsg
Source§impl<'de> Deserialize<'de> for StreakStatsMsg
impl<'de> Deserialize<'de> for StreakStatsMsg
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 StreakStatsMsg
impl RefUnwindSafe for StreakStatsMsg
impl Send for StreakStatsMsg
impl Sync for StreakStatsMsg
impl Unpin for StreakStatsMsg
impl UnsafeUnpin for StreakStatsMsg
impl UnwindSafe for StreakStatsMsg
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