pub struct Rank {
pub rank: i64,
pub invites: i64,
pub user: User,
}Expand description
Rank is like a row in a ranking table.
Fields§
§rank: i64The position in the chart
invites: i64Number of invitations sent by this user
user: UserThe user that is in rank position because it sent invites invitations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnsafeUnpin for Rank
impl UnwindSafe for Rank
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