pub struct ExchangesClient { /* private fields */ }
Implementations§
Source§impl ExchangesClient
impl ExchangesClient
pub fn new(api_options: DfnsApiClientOptions) -> Self
pub async fn create_deposit( &self, request: CreateDepositRequest, ) -> Result<CreateDepositResponse, DfnsError>
pub async fn create_exchange( &self, request: CreateExchangeRequest, ) -> Result<CreateExchangeResponse, DfnsError>
pub async fn create_withdrawal( &self, request: CreateWithdrawalRequest, ) -> Result<CreateWithdrawalResponse, DfnsError>
pub async fn delete_exchange( &self, request: DeleteExchangeRequest, ) -> Result<DeleteExchangeResponse, DfnsError>
pub async fn get_exchange( &self, request: GetExchangeRequest, ) -> Result<GetExchangeResponse, DfnsError>
pub async fn list_account_assets( &self, request: ListAccountAssetsRequest, ) -> Result<ListAccountAssetsResponse, DfnsError>
pub async fn list_accounts( &self, request: ListAccountsRequest, ) -> Result<ListAccountsResponse, DfnsError>
pub async fn list_asset_withdrawal_networks( &self, request: ListAssetWithdrawalNetworksRequest, ) -> Result<ListAssetWithdrawalNetworksResponse, DfnsError>
pub async fn list_exchanges( &self, request: Option<ListExchangesRequest>, ) -> Result<ListExchangesResponse, DfnsError>
Auto Trait Implementations§
impl Freeze for ExchangesClient
impl !RefUnwindSafe for ExchangesClient
impl Send for ExchangesClient
impl Sync for ExchangesClient
impl Unpin for ExchangesClient
impl !UnwindSafe for ExchangesClient
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