pub struct TransactionsTransactions {
pub acctid: Option<String>,
pub conid: Option<f32>,
pub cur: Option<String>,
pub fx_rate: Option<f32>,
pub desc: Option<String>,
pub date: Option<String>,
pub _type: Option<String>,
pub qty: Option<f32>,
pub pr: Option<f32>,
pub amt: Option<f32>,
}
Fields§
§acctid: Option<String>
§conid: Option<f32>
§cur: Option<String>
currency code
fx_rate: Option<f32>
Conversion rate from asset currency to response currency
desc: Option<String>
Transaction description
date: Option<String>
Date of transaction. Epoch time, GMT
_type: Option<String>
Transaction Type Name: Examples: "Sell", "Buy", "Corporate Action", "Dividend Payment", "Transfer", "Payment in Lieu" Dividends and Transfers do not have price and quantity in response
qty: Option<f32>
Not applicable for all transaction types
pr: Option<f32>
In asset currency. Not be applicable for all transaction types.
amt: Option<f32>
Raw value, no formatting. Net transaction amount (may include commission, tax). In asset currency
Implementations§
Source§impl TransactionsTransactions
impl TransactionsTransactions
pub fn new() -> TransactionsTransactions
Trait Implementations§
Source§impl Clone for TransactionsTransactions
impl Clone for TransactionsTransactions
Source§fn clone(&self) -> TransactionsTransactions
fn clone(&self) -> TransactionsTransactions
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 TransactionsTransactions
impl Debug for TransactionsTransactions
Source§impl<'de> Deserialize<'de> for TransactionsTransactions
impl<'de> Deserialize<'de> for TransactionsTransactions
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
Source§impl PartialEq for TransactionsTransactions
impl PartialEq for TransactionsTransactions
Source§impl Serialize for TransactionsTransactions
impl Serialize for TransactionsTransactions
impl StructuralPartialEq for TransactionsTransactions
Auto Trait Implementations§
impl Freeze for TransactionsTransactions
impl RefUnwindSafe for TransactionsTransactions
impl Send for TransactionsTransactions
impl Sync for TransactionsTransactions
impl Unpin for TransactionsTransactions
impl UnwindSafe for TransactionsTransactions
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