pub struct MyAccountDetails {
    pub username: String,
    pub email: String,
    pub member: bool,
    pub member_expiration: Option<String>,
    pub status: AccountStatus,
    pub badges: Option<Vec<String>>,
    pub skins: Vec<String>,
    pub gems: i32,
    pub event_token: i32,
    pub achievements_points: i32,
    pub banned: bool,
    pub ban_reason: Option<String>,
}Fields§
§username: StringUsername.
email: StringEmail.
member: boolMember status.
member_expiration: Option<String>Member expiration date.
status: AccountStatusAccount status.
badges: Option<Vec<String>>Account badges.
skins: Vec<String>Skins owned.
gems: i32Gems.
event_token: i32Event tokens for spawning events.
achievements_points: i32Achievement points.
banned: boolBanned.
ban_reason: Option<String>Ban reason.
Implementations§
Trait Implementations§
Source§impl Clone for MyAccountDetails
 
impl Clone for MyAccountDetails
Source§fn clone(&self) -> MyAccountDetails
 
fn clone(&self) -> MyAccountDetails
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 MyAccountDetails
 
impl Debug for MyAccountDetails
Source§impl Default for MyAccountDetails
 
impl Default for MyAccountDetails
Source§fn default() -> MyAccountDetails
 
fn default() -> MyAccountDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MyAccountDetails
 
impl<'de> Deserialize<'de> for MyAccountDetails
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
Source§impl PartialEq for MyAccountDetails
 
impl PartialEq for MyAccountDetails
Source§impl Serialize for MyAccountDetails
 
impl Serialize for MyAccountDetails
impl StructuralPartialEq for MyAccountDetails
Auto Trait Implementations§
impl Freeze for MyAccountDetails
impl RefUnwindSafe for MyAccountDetails
impl Send for MyAccountDetails
impl Sync for MyAccountDetails
impl Unpin for MyAccountDetails
impl UnwindSafe for MyAccountDetails
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