pub struct Traded { /* private fields */ }Expand description
Wrapper for backwards compatibility with traded() API
Implementations§
Source§impl Traded
impl Traded
Sourcepub async fn get(self) -> Result<UserTraded, DataApiError>
pub async fn get(self) -> Result<UserTraded, DataApiError>
Get total markets traded by the user
Auto Trait Implementations§
impl Freeze for Traded
impl !RefUnwindSafe for Traded
impl Send for Traded
impl Sync for Traded
impl Unpin for Traded
impl !UnwindSafe for Traded
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