pub struct TransactionDetailRecord { /* private fields */ }Expand description
BAI2 transaction detail record.
Implementations§
Source§impl TransactionDetailRecord
impl TransactionDetailRecord
Sourcepub const fn transaction_type(&self) -> &TransactionTypeCode
pub const fn transaction_type(&self) -> &TransactionTypeCode
Returns the transaction type code.
Sourcepub const fn amount(&self) -> Amount
pub const fn amount(&self) -> Amount
Returns the transaction amount, interpreted as minor units with scale 2.
Sourcepub const fn funds_type(&self) -> Option<&FundsTypeCode>
pub const fn funds_type(&self) -> Option<&FundsTypeCode>
Returns the optional funds type code.
Sourcepub fn bank_reference(&self) -> Option<&str>
pub fn bank_reference(&self) -> Option<&str>
Returns the optional bank reference.
Sourcepub fn customer_reference(&self) -> Option<&str>
pub fn customer_reference(&self) -> Option<&str>
Returns the optional customer reference.
Trait Implementations§
Source§impl Clone for TransactionDetailRecord
impl Clone for TransactionDetailRecord
Source§fn clone(&self) -> TransactionDetailRecord
fn clone(&self) -> TransactionDetailRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransactionDetailRecord
impl Debug for TransactionDetailRecord
impl Eq for TransactionDetailRecord
Source§impl PartialEq for TransactionDetailRecord
impl PartialEq for TransactionDetailRecord
Source§fn eq(&self, other: &TransactionDetailRecord) -> bool
fn eq(&self, other: &TransactionDetailRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactionDetailRecord
Auto Trait Implementations§
impl Freeze for TransactionDetailRecord
impl RefUnwindSafe for TransactionDetailRecord
impl Send for TransactionDetailRecord
impl Sync for TransactionDetailRecord
impl Unpin for TransactionDetailRecord
impl UnsafeUnpin for TransactionDetailRecord
impl UnwindSafe for TransactionDetailRecord
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