pub struct TradeApiClient { /* private fields */ }Implementations§
Source§impl TradeApiClient
impl TradeApiClient
pub fn new(configuration: ConfigurationRestApi) -> Self
Trait Implementations§
Source§impl Clone for TradeApiClient
impl Clone for TradeApiClient
Source§fn clone(&self) -> TradeApiClient
fn clone(&self) -> TradeApiClient
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 moreSource§impl Debug for TradeApiClient
impl Debug for TradeApiClient
Source§impl TradeApi for TradeApiClient
impl TradeApi for TradeApiClient
fn delete_open_orders<'life0, 'async_trait>(
&'life0 self,
params: DeleteOpenOrdersParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<Vec<DeleteOpenOrdersResponseInner>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_order<'life0, 'async_trait>(
&'life0 self,
params: DeleteOrderParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DeleteOrderResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_order_list<'life0, 'async_trait>(
&'life0 self,
params: DeleteOrderListParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<DeleteOrderListResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_order<'life0, 'async_trait>(
&'life0 self,
params: NewOrderParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<NewOrderResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_amend_keep_priority<'life0, 'async_trait>(
&'life0 self,
params: OrderAmendKeepPriorityParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderAmendKeepPriorityResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_cancel_replace<'life0, 'async_trait>(
&'life0 self,
params: OrderCancelReplaceParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderCancelReplaceResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_oco<'life0, 'async_trait>(
&'life0 self,
params: OrderListOcoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderListOcoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_opo<'life0, 'async_trait>(
&'life0 self,
params: OrderListOpoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderListOpoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_opoco<'life0, 'async_trait>(
&'life0 self,
params: OrderListOpocoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderListOpocoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_oto<'life0, 'async_trait>(
&'life0 self,
params: OrderListOtoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderListOtoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_list_otoco<'life0, 'async_trait>(
&'life0 self,
params: OrderListOtocoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderListOtocoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_oco<'life0, 'async_trait>(
&'life0 self,
params: OrderOcoParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderOcoResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn order_test<'life0, 'async_trait>(
&'life0 self,
params: OrderTestParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<OrderTestResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sor_order<'life0, 'async_trait>(
&'life0 self,
params: SorOrderParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SorOrderResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sor_order_test<'life0, 'async_trait>(
&'life0 self,
params: SorOrderTestParams,
) -> Pin<Box<dyn Future<Output = Result<RestApiResponse<SorOrderTestResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for TradeApiClient
impl !RefUnwindSafe for TradeApiClient
impl !UnwindSafe for TradeApiClient
impl Send for TradeApiClient
impl Sync for TradeApiClient
impl Unpin for TradeApiClient
impl UnsafeUnpin for TradeApiClient
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