pub struct UserProfile {
pub user: UserSummary,
pub holdings: Vec<Holder>,
pub chats: Vec<ChatMessage>,
pub created_tokens: Vec<Token>,
pub followers: i64,
pub followees: i64,
pub referral_count: i64,
pub points: i32,
pub trading_points: f64,
pub trading_volume_usd: f64,
pub reward_eth: f64,
}Expand description
Public profile: identity, holdings, comments, launched tokens and current-round points.
Fields§
§user: UserSummaryIdentity record.
holdings: Vec<Holder>Positive balances only.
chats: Vec<ChatMessage>Newest first, max 50.
created_tokens: Vec<Token>Tokens launched by this address, newest first.
followers: i64Follower count.
followees: i64Followed-account count.
referral_count: i64Active referrals only.
points: i32Referral earnings ledger balance.
trading_points: f64Points in the current round window; matches the leaderboard’s
LeaderboardEntry::points.
trading_volume_usd: f64USD volume in the current round window.
reward_eth: f64Estimated BNB slice of the live pot.
Trait Implementations§
Source§impl Clone for UserProfile
impl Clone for UserProfile
Source§impl Debug for UserProfile
impl Debug for UserProfile
Source§impl<'de> Deserialize<'de> for UserProfile
impl<'de> Deserialize<'de> for UserProfile
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
Auto Trait Implementations§
impl Freeze for UserProfile
impl RefUnwindSafe for UserProfile
impl Send for UserProfile
impl Sync for UserProfile
impl Unpin for UserProfile
impl UnsafeUnpin for UserProfile
impl UnwindSafe for UserProfile
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