pub struct GuildMemberData {
pub name: String,
pub battles_joined: Option<BattlesJoined>,
pub level: u16,
pub last_online: Option<DateTime<Local>>,
pub treasure_skill: u16,
pub instructor_skill: u16,
pub guild_pet_lvl: u16,
pub guild_rank: GuildRank,
pub portal_fought: Option<DateTime<Local>>,
pub potions: [Option<ItemType>; 3],
pub knights: u8,
}
Expand description
A member of a guild
Fields§
§name: String
The name of the member
battles_joined: Option<BattlesJoined>
Which battles this member will participate in
level: u16
The level of this member
last_online: Option<DateTime<Local>>
The last time this player was online (last time they send an update command)
treasure_skill: u16
The level, that this member has upgraded their treasure to
instructor_skill: u16
The level, that this member has upgraded their instructor to
guild_pet_lvl: u16
The level of this members guild pet
guild_rank: GuildRank
The rank this member has in the guild
portal_fought: Option<DateTime<Local>>
The last time this member has fought the portal. This is basically a dynamic check if they have fought it today, because today changes
potions: [Option<ItemType>; 3]
The potions this player has active. This will always be potion, no other item type
knights: u8
The level of this members hall of knights
Trait Implementations§
Source§impl Clone for GuildMemberData
impl Clone for GuildMemberData
Source§fn clone(&self) -> GuildMemberData
fn clone(&self) -> GuildMemberData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GuildMemberData
impl Debug for GuildMemberData
Source§impl Default for GuildMemberData
impl Default for GuildMemberData
Source§fn default() -> GuildMemberData
fn default() -> GuildMemberData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuildMemberData
impl<'de> Deserialize<'de> for GuildMemberData
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 GuildMemberData
impl RefUnwindSafe for GuildMemberData
impl Send for GuildMemberData
impl Sync for GuildMemberData
impl Unpin for GuildMemberData
impl UnwindSafe for GuildMemberData
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