parse_transaction

Function parse_transaction 

Source
pub fn parse_transaction(
    data: &Value,
    transaction_type: TransactionType,
) -> Result<Transaction>
Expand description

Parse transaction (deposit or withdrawal) from Binance API response.