Struct minority_game_server::schema::PlayerStats [−][src]
pub struct PlayerStats {
pub happiness: f32,
pub times_went_out: u32,
pub times_stayed_in: u32,
pub times_lied: u32,
pub times_told_truth: u32,
}
Fields
happiness: f32
times_went_out: u32
times_stayed_in: u32
times_lied: u32
times_told_truth: u32
Implementations
Trait Implementations
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 RefUnwindSafe for PlayerStats
impl Send for PlayerStats
impl Sync for PlayerStats
impl Unpin for PlayerStats
impl UnwindSafe for PlayerStats
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more