pub struct AccountLeaderboardSchema {
pub position: i32,
pub account: String,
pub status: AccountStatus,
pub achievements_points: i32,
pub gold: i32,
}Fields§
§position: i32Position in the leaderboard.
account: StringAccount name.
status: AccountStatusMember status.
achievements_points: i32Achievements points.
gold: i32Gold in the account.
Implementations§
Source§impl AccountLeaderboardSchema
impl AccountLeaderboardSchema
pub fn new( position: i32, account: String, status: AccountStatus, achievements_points: i32, gold: i32, ) -> AccountLeaderboardSchema
Trait Implementations§
Source§impl Clone for AccountLeaderboardSchema
impl Clone for AccountLeaderboardSchema
Source§fn clone(&self) -> AccountLeaderboardSchema
fn clone(&self) -> AccountLeaderboardSchema
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 AccountLeaderboardSchema
impl Debug for AccountLeaderboardSchema
Source§impl Default for AccountLeaderboardSchema
impl Default for AccountLeaderboardSchema
Source§fn default() -> AccountLeaderboardSchema
fn default() -> AccountLeaderboardSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountLeaderboardSchema
impl<'de> Deserialize<'de> for AccountLeaderboardSchema
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 AccountLeaderboardSchema
impl PartialEq for AccountLeaderboardSchema
Source§impl Serialize for AccountLeaderboardSchema
impl Serialize for AccountLeaderboardSchema
impl StructuralPartialEq for AccountLeaderboardSchema
Auto Trait Implementations§
impl Freeze for AccountLeaderboardSchema
impl RefUnwindSafe for AccountLeaderboardSchema
impl Send for AccountLeaderboardSchema
impl Sync for AccountLeaderboardSchema
impl Unpin for AccountLeaderboardSchema
impl UnwindSafe for AccountLeaderboardSchema
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