pub struct AccountClient<'a> { /* private fields */ }Implementations§
Source§impl<'a> AccountClient<'a>
impl<'a> AccountClient<'a>
pub fn new(client: &'a PolymarketUsClient) -> Self
Sourcepub async fn balances(
&self,
) -> Result<AccountBalancesResponse, PolymarketUsError>
pub async fn balances( &self, ) -> Result<AccountBalancesResponse, PolymarketUsError>
Get account balances
Trait Implementations§
Source§impl<'a> Clone for AccountClient<'a>
impl<'a> Clone for AccountClient<'a>
Source§fn clone(&self) -> AccountClient<'a>
fn clone(&self) -> AccountClient<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for AccountClient<'a>
impl<'a> !UnwindSafe for AccountClient<'a>
impl<'a> Freeze for AccountClient<'a>
impl<'a> Send for AccountClient<'a>
impl<'a> Sync for AccountClient<'a>
impl<'a> Unpin for AccountClient<'a>
impl<'a> UnsafeUnpin for AccountClient<'a>
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