pub trait PlayerMutator {
// Required methods
fn increment_bloops(&mut self);
fn add_awarded_achievement(
&mut self,
achievement_id: Uuid,
awarded_at: DateTime<Utc>,
);
}Expand description
Provides mutation methods for a player.
Required Methods§
Sourcefn increment_bloops(&mut self)
fn increment_bloops(&mut self)
Increments the bloop counter by one.
Sourcefn add_awarded_achievement(
&mut self,
achievement_id: Uuid,
awarded_at: DateTime<Utc>,
)
fn add_awarded_achievement( &mut self, achievement_id: Uuid, awarded_at: DateTime<Utc>, )
Adds an awarded achievement to the player.