pub struct Profile {
pub player_id: i32,
pub name: String,
pub rank: String,
pub level: i16,
pub gender: Gender,
pub age: i32,
pub life: LifeBar,
pub last_action: LastAction,
pub faction: Option<Faction>,
pub status: Status,
pub competition: Option<Competition>,
}
Fields
player_id: i32
name: String
rank: String
level: i16
gender: Gender
age: i32
life: LifeBar
last_action: LastAction
faction: Option<Faction>
status: Status
competition: Option<Competition>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
sourcefn 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 RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more