pub struct DepotTransaction {Show 17 fields
pub isin: Option<Isin>,
pub wkn: Option<Wkn>,
pub name: String,
pub quantity: Decimal,
pub amount: Option<Decimal>,
pub currency: Option<Currency>,
pub direction: DepotTransactionDirection,
pub transaction_type: Option<String>,
pub effective_date: Option<Date>,
pub trade_date: Option<Date>,
pub settlement_date: Option<Date>,
pub price: Option<Decimal>,
pub price_currency: Option<Currency>,
pub is_reversal: bool,
pub details: Option<String>,
pub depot_id: Option<String>,
pub raw: Value,
}Available on non-crate feature
tooling only.Expand description
One depot transaction (securities movement) from an MT536 statement.
Fields§
§isin: Option<Isin>§wkn: Option<Wkn>§name: StringDescription of the security.
quantity: DecimalPosted quantity: pieces, or face amount for bonds (see raw["quantity_type"]).
amount: Option<Decimal>Posted amount, signed as the bank sends it (N = negative).
currency: Option<Currency>§direction: DepotTransactionDirection§transaction_type: Option<String>Transaction type indicator (:22F::TRAN), e.g. SETT, CORP.
effective_date: Option<Date>Effective settlement date (ESET).
trade_date: Option<Date>Trade date (TRAD).
settlement_date: Option<Date>Settlement date (SETT).
price: Option<Decimal>Deal price per unit (percent of face amount when no currency).
price_currency: Option<Currency>§is_reversal: boolReversal (Storno) of an earlier transaction.
details: Option<String>Free text from :70E:, lines joined with \n.
depot_id: Option<String>Depot number from the statement header.
raw: ValueRaw parsed data for debugging/extension.
Trait Implementations§
Source§impl Clone for DepotTransaction
impl Clone for DepotTransaction
Source§impl Debug for DepotTransaction
impl Debug for DepotTransaction
Source§impl<'de> Deserialize<'de> for DepotTransaction
impl<'de> Deserialize<'de> for DepotTransaction
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 Forget for DepotTransaction
impl Freeze for DepotTransaction
impl Move for DepotTransaction
impl RefUnwindSafe for DepotTransaction
impl Send for DepotTransaction
impl Sync for DepotTransaction
impl Unpin for DepotTransaction
impl UnsafeUnpin for DepotTransaction
impl UnwindSafe for DepotTransaction
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