Enum finql_data::transaction::TransactionType [−][src]
pub enum TransactionType { Cash, Asset { asset_id: usize, position: f64, }, Dividend { asset_id: usize, }, Interest { asset_id: usize, }, Tax { transaction_ref: Option<usize>, }, Fee { transaction_ref: Option<usize>, }, }
Expand description
Type of transaction
Variants
Show fields
Fields of Dividend
asset_id: usize
Show fields
Fields of Interest
asset_id: usize
Trait Implementations
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 RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
Blanket Implementations
Mutably borrows from an owned value. Read more