pub struct TransactionLog {Show 19 fields
pub symbol: Option<String>,
pub category: Option<String>,
pub side: Option<String>,
pub transaction_time: String,
pub transaction_type: String,
pub qty: Option<String>,
pub size: Option<String>,
pub currency: String,
pub trade_price: Option<String>,
pub funding: Option<String>,
pub fee: Option<String>,
pub cash_flow: String,
pub change: String,
pub cash_balance: String,
pub fee_rate: Option<String>,
pub bonus_change: Option<String>,
pub trade_id: Option<String>,
pub order_id: Option<String>,
pub order_link_id: Option<String>,
}Expand description
Transaction log entry.
Fields§
§symbol: Option<String>Trading symbol.
category: Option<String>Product category.
side: Option<String>Side.
transaction_time: StringTransaction time.
transaction_type: StringTransaction type.
qty: Option<String>Quantity.
size: Option<String>Size.
currency: StringCurrency.
trade_price: Option<String>Trade price.
funding: Option<String>Funding.
fee: Option<String>Fee.
cash_flow: StringCash flow.
change: StringChange.
cash_balance: StringCash balance.
fee_rate: Option<String>Fee rate.
bonus_change: Option<String>Bonus change.
trade_id: Option<String>Trade ID.
order_id: Option<String>Order ID.
order_link_id: Option<String>Order link ID.
Trait Implementations§
Source§impl Clone for TransactionLog
impl Clone for TransactionLog
Source§fn clone(&self) -> TransactionLog
fn clone(&self) -> TransactionLog
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 moreSource§impl Debug for TransactionLog
impl Debug for TransactionLog
Source§impl<'de> Deserialize<'de> for TransactionLog
impl<'de> Deserialize<'de> for TransactionLog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TransactionLog
impl RefUnwindSafe for TransactionLog
impl Send for TransactionLog
impl Sync for TransactionLog
impl Unpin for TransactionLog
impl UnwindSafe for TransactionLog
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