Struct rust_warrior::profile::Profile
source · [−]Expand description
The player’s profile tracks their game progress. It is saved in .profile at the root of the player’s generated project.
Fields
name: StringThe name the player has chosen
level: usizeThe level of the player’s warrior
maximus_oxidus: boolWhether the player has successfully completed the final floor
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