Trait fcoin::Function [−][src]
pub trait Function { fn symbols(&self) -> Result<ApiResponse<Vec<SymbolDescription>>, Error>; fn coins(&self) -> Result<ApiResponse<Vec<String>>, Error>; fn ordering(
&self,
order: &OrderRequest
) -> Result<ApiResponse<String>, Error>; fn cancel(&self, id: &str) -> Result<ApiResponse<bool>, Error>; fn query(
&self,
condition: &OrderQuery
) -> Result<ApiResponse<Vec<OrderInfo>>, Error>; fn get(&self, id: &str) -> Result<ApiResponse<OrderInfo>, Error>; fn get_match_result(
&self,
id: &str
) -> Result<ApiResponse<Vec<MatchResult>>, Error>; fn get_orderbook(
&self,
level: &str,
coin: &str,
currency: &str
) -> Result<ApiResponse<Orderbook>, Error>; }
Required Methods
fn symbols(&self) -> Result<ApiResponse<Vec<SymbolDescription>>, Error>
fn coins(&self) -> Result<ApiResponse<Vec<String>>, Error>
fn ordering(&self, order: &OrderRequest) -> Result<ApiResponse<String>, Error>
fn cancel(&self, id: &str) -> Result<ApiResponse<bool>, Error>
fn query(
&self,
condition: &OrderQuery
) -> Result<ApiResponse<Vec<OrderInfo>>, Error>
&self,
condition: &OrderQuery
) -> Result<ApiResponse<Vec<OrderInfo>>, Error>
fn get(&self, id: &str) -> Result<ApiResponse<OrderInfo>, Error>
fn get_match_result(
&self,
id: &str
) -> Result<ApiResponse<Vec<MatchResult>>, Error>
&self,
id: &str
) -> Result<ApiResponse<Vec<MatchResult>>, Error>
fn get_orderbook(
&self,
level: &str,
coin: &str,
currency: &str
) -> Result<ApiResponse<Orderbook>, Error>
&self,
level: &str,
coin: &str,
currency: &str
) -> Result<ApiResponse<Orderbook>, Error>
Implementors
impl Function for Fcoin