pub struct Profile {Show 24 fields
pub id: UserId,
pub name: String,
pub level: i32,
pub rank: Rank,
pub title: Title,
pub donator_status: Option<UserDonatorStatusEnum>,
pub age: i32,
pub signed_up: i32,
pub faction_id: Option<FactionId>,
pub honor_id: HonorId,
pub property: Property,
pub image: Option<String>,
pub gender: UserGenderEnum,
pub revivable: bool,
pub role: UserRoleEnum,
pub status: UserStatus,
pub spouse: Option<ProfileSpouse>,
pub awards: i32,
pub friends: i32,
pub enemies: i32,
pub forum_posts: i32,
pub karma: i32,
pub last_action: UserLastAction,
pub life: Life,
}
Fields§
§id: UserId
§name: String
§level: i32
§rank: Rank
§title: Title
§donator_status: Option<UserDonatorStatusEnum>
§age: i32
Age in days.
signed_up: i32
§faction_id: Option<FactionId>
§honor_id: HonorId
§property: Property
§image: Option<String>
§gender: UserGenderEnum
§revivable: bool
§role: UserRoleEnum
§status: UserStatus
§spouse: Option<ProfileSpouse>
§awards: i32
§friends: i32
§enemies: i32
§forum_posts: i32
§karma: i32
§last_action: UserLastAction
§life: Life
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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