pub struct UserTraded {
pub user: String,
pub traded: u64,
}Expand description
User’s total markets traded count
Fields§
§user: StringUser address
traded: u64Total count of distinct markets traded
Trait Implementations§
Source§impl Clone for UserTraded
impl Clone for UserTraded
Source§fn clone(&self) -> UserTraded
fn clone(&self) -> UserTraded
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 UserTraded
impl Debug for UserTraded
Source§impl<'de> Deserialize<'de> for UserTraded
impl<'de> Deserialize<'de> for UserTraded
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 UserTraded
impl RefUnwindSafe for UserTraded
impl Send for UserTraded
impl Sync for UserTraded
impl Unpin for UserTraded
impl UnwindSafe for UserTraded
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