pub struct PreUpgradeClient { /* private fields */ }Implementations§
Source§impl PreUpgradeClient
impl PreUpgradeClient
pub fn new(client: RestClient) -> Self
Sourcepub async fn get_order_history(
&self,
category: &str,
symbol: Option<&str>,
base_coin: Option<&str>,
order_id: Option<&str>,
order_link_id: Option<&str>,
order_filter: Option<&str>,
order_status: Option<&str>,
start_time: Option<i64>,
end_time: Option<i64>,
limit: Option<i32>,
cursor: Option<&str>,
) -> Result<ServerResponse<Value>>
pub async fn get_order_history( &self, category: &str, symbol: Option<&str>, base_coin: Option<&str>, order_id: Option<&str>, order_link_id: Option<&str>, order_filter: Option<&str>, order_status: Option<&str>, start_time: Option<i64>, end_time: Option<i64>, limit: Option<i32>, cursor: Option<&str>, ) -> Result<ServerResponse<Value>>
Get pre-upgrade order history Get orders placed before the system upgrade
Sourcepub async fn get_trade_history(
&self,
category: &str,
symbol: Option<&str>,
order_id: Option<&str>,
order_link_id: Option<&str>,
base_coin: Option<&str>,
start_time: Option<i64>,
end_time: Option<i64>,
exec_type: Option<&str>,
limit: Option<i32>,
cursor: Option<&str>,
) -> Result<ServerResponse<Value>>
pub async fn get_trade_history( &self, category: &str, symbol: Option<&str>, order_id: Option<&str>, order_link_id: Option<&str>, base_coin: Option<&str>, start_time: Option<i64>, end_time: Option<i64>, exec_type: Option<&str>, limit: Option<i32>, cursor: Option<&str>, ) -> Result<ServerResponse<Value>>
Get pre-upgrade trade history Get trade execution history before the system upgrade
Sourcepub async fn get_transaction_log(
&self,
category: Option<&str>,
base_coin: Option<&str>,
coin: Option<&str>,
start_time: Option<i64>,
end_time: Option<i64>,
limit: Option<i32>,
cursor: Option<&str>,
) -> Result<ServerResponse<Value>>
pub async fn get_transaction_log( &self, category: Option<&str>, base_coin: Option<&str>, coin: Option<&str>, start_time: Option<i64>, end_time: Option<i64>, limit: Option<i32>, cursor: Option<&str>, ) -> Result<ServerResponse<Value>>
Get pre-upgrade transaction log Get account transaction log before the system upgrade
Sourcepub async fn get_closed_pnl(
&self,
category: &str,
symbol: Option<&str>,
start_time: Option<i64>,
end_time: Option<i64>,
limit: Option<i32>,
cursor: Option<&str>,
) -> Result<ServerResponse<Value>>
pub async fn get_closed_pnl( &self, category: &str, symbol: Option<&str>, start_time: Option<i64>, end_time: Option<i64>, limit: Option<i32>, cursor: Option<&str>, ) -> Result<ServerResponse<Value>>
Get pre-upgrade closed PnL Get closed profit and loss records before the system upgrade
Trait Implementations§
Source§impl Clone for PreUpgradeClient
impl Clone for PreUpgradeClient
Source§fn clone(&self) -> PreUpgradeClient
fn clone(&self) -> PreUpgradeClient
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for PreUpgradeClient
impl !RefUnwindSafe for PreUpgradeClient
impl Send for PreUpgradeClient
impl Sync for PreUpgradeClient
impl Unpin for PreUpgradeClient
impl !UnwindSafe for PreUpgradeClient
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