pub struct AccountClient { /* private fields */ }Expand description
Account and token-balance API.
Implementations§
Source§impl AccountClient
impl AccountClient
Sourcepub async fn get_token_balance(&self) -> Result<TokenBalance>
pub async fn get_token_balance(&self) -> Result<TokenBalance>
Gets the current token balance.
Sourcepub async fn get_token_balance_with(
&self,
cancellation: Option<&CancellationToken>,
) -> Result<TokenBalance>
pub async fn get_token_balance_with( &self, cancellation: Option<&CancellationToken>, ) -> Result<TokenBalance>
Gets the current token balance with cancellation.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AccountClient
impl !UnwindSafe for AccountClient
impl Freeze for AccountClient
impl Send for AccountClient
impl Sync for AccountClient
impl Unpin for AccountClient
impl UnsafeUnpin for AccountClient
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