pub struct OffExchangeApiClient { /* private fields */ }
Implementations§
Source§impl OffExchangeApiClient
impl OffExchangeApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl OffExchangeApi for OffExchangeApiClient
impl OffExchangeApi for OffExchangeApiClient
Source§fn add_off_exchange<'life0, 'async_trait>(
&'life0 self,
params: AddOffExchangeParams,
) -> Pin<Box<dyn Future<Output = Result<CreateTransactionResponse, Error<AddOffExchangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_off_exchange<'life0, 'async_trait>(
&'life0 self,
params: AddOffExchangeParams,
) -> Pin<Box<dyn Future<Output = Result<CreateTransactionResponse, Error<AddOffExchangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add collateral and create deposit request. Learn more about Fireblocks Off Exchange in the following guide. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Source§fn get_off_exchange_collateral_accounts<'life0, 'async_trait>(
&'life0 self,
params: GetOffExchangeCollateralAccountsParams,
) -> Pin<Box<dyn Future<Output = Result<ExchangeAccount, Error<GetOffExchangeCollateralAccountsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_off_exchange_collateral_accounts<'life0, 'async_trait>(
&'life0 self,
params: GetOffExchangeCollateralAccountsParams,
) -> Pin<Box<dyn Future<Output = Result<ExchangeAccount, Error<GetOffExchangeCollateralAccountsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns a collateral account by mainExchangeAccountId. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Source§fn get_off_exchange_settlement_transactions<'life0, 'async_trait>(
&'life0 self,
params: GetOffExchangeSettlementTransactionsParams,
) -> Pin<Box<dyn Future<Output = Result<ExchangeSettlementTransactionsResponse, Error<GetOffExchangeSettlementTransactionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_off_exchange_settlement_transactions<'life0, 'async_trait>(
&'life0 self,
params: GetOffExchangeSettlementTransactionsParams,
) -> Pin<Box<dyn Future<Output = Result<ExchangeSettlementTransactionsResponse, Error<GetOffExchangeSettlementTransactionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get settlements transactions from exchange. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Source§fn remove_off_exchange<'life0, 'async_trait>(
&'life0 self,
params: RemoveOffExchangeParams,
) -> Pin<Box<dyn Future<Output = Result<CreateTransactionResponse, Error<RemoveOffExchangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove_off_exchange<'life0, 'async_trait>(
&'life0 self,
params: RemoveOffExchangeParams,
) -> Pin<Box<dyn Future<Output = Result<CreateTransactionResponse, Error<RemoveOffExchangeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove collateral and create withdraw request. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Source§fn settle_off_exchange_trades<'life0, 'async_trait>(
&'life0 self,
params: SettleOffExchangeTradesParams,
) -> Pin<Box<dyn Future<Output = Result<SettlementResponse, Error<SettleOffExchangeTradesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn settle_off_exchange_trades<'life0, 'async_trait>(
&'life0 self,
params: SettleOffExchangeTradesParams,
) -> Pin<Box<dyn Future<Output = Result<SettlementResponse, Error<SettleOffExchangeTradesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create settlement for a trader. Learn more about Fireblocks Off Exchange in the following guide. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Auto Trait Implementations§
impl Freeze for OffExchangeApiClient
impl !RefUnwindSafe for OffExchangeApiClient
impl Send for OffExchangeApiClient
impl Sync for OffExchangeApiClient
impl Unpin for OffExchangeApiClient
impl !UnwindSafe for OffExchangeApiClient
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