pub struct Pets {
pub total_collected: u16,
pub rank: u32,
pub honor: u32,
pub max_pet_level: u16,
pub opponent: PetOpponent,
pub habitats: EnumMap<HabitatType, Habitat>,
pub next_free_exploration: Option<DateTime<Local>>,
pub atr_bonus: EnumMap<AttributeType, u32>,
}
Fields§
§total_collected: u16
The total amount of pets collected in all habitats
rank: u32
The rank this pet collection achieved in the hall of fame
honor: u32
The honor this pet collection has gained
max_pet_level: u16
§opponent: PetOpponent
Information about the pvp opponent you can attack with your pets
habitats: EnumMap<HabitatType, Habitat>
Information about all the different habitats
next_free_exploration: Option<DateTime<Local>>
The next time the exploration will be possible without spending a mushroom
atr_bonus: EnumMap<AttributeType, u32>
The bonus the player receives from pets
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pets
impl<'de> Deserialize<'de> for Pets
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 Pets
impl RefUnwindSafe for Pets
impl Send for Pets
impl Sync for Pets
impl Unpin for Pets
impl UnwindSafe for Pets
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