pub struct TraderRanking {
pub rank: String,
pub proxy_wallet: String,
pub user_name: Option<String>,
pub vol: f64,
pub pnl: f64,
pub profile_image: Option<String>,
pub x_username: Option<String>,
pub verified_badge: Option<bool>,
}Expand description
Trader ranking entry in the leaderboard
Fields§
§rank: StringTrader’s ranking position
proxy_wallet: StringProxy wallet address
user_name: Option<String>Display username
vol: f64Trading volume
pnl: f64Profit and loss
profile_image: Option<String>Profile image URL
x_username: Option<String>Twitter/X handle
verified_badge: Option<bool>Verified badge status
Trait Implementations§
Source§impl Clone for TraderRanking
impl Clone for TraderRanking
Source§fn clone(&self) -> TraderRanking
fn clone(&self) -> TraderRanking
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 TraderRanking
impl Debug for TraderRanking
Source§impl<'de> Deserialize<'de> for TraderRanking
impl<'de> Deserialize<'de> for TraderRanking
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 TraderRanking
impl RefUnwindSafe for TraderRanking
impl Send for TraderRanking
impl Sync for TraderRanking
impl Unpin for TraderRanking
impl UnsafeUnpin for TraderRanking
impl UnwindSafe for TraderRanking
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