pub trait PlayerInfo {
// Required methods
fn id(&self) -> Uuid;
fn nfc_uid(&self) -> NfcUid;
fn total_bloops(&self) -> usize;
fn awarded_achievements(&self) -> &HashMap<Uuid, DateTime<Utc>>;
}Expand description
Provides read-only information about a player.
Required Methods§
Sourcefn total_bloops(&self) -> usize
fn total_bloops(&self) -> usize
Returns the total number of bloops the player has collected.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".