pub struct Field90D {
pub number: u32,
pub currency: String,
pub amount: f64,
}
Expand description
Field 90D: Number & Sum of Debit Entries
Debit variant of Field 90 module. Specifies the number and total sum of debit transactions.
Components:
- Number of debit transactions (5n)
- Currency code (3!a)
- Total sum of debit amounts (15d)
For complete documentation, see the Field 90 module.
Fields§
§number: u32
Number of debit transactions
Format: 5n - Up to 5 digit number Count of all debit transactions in the summary
currency: String
Currency of debit amounts
Format: 3!a - ISO 4217 currency code (USD, EUR, GBP, etc.) Must match currency of summarized transactions
amount: f64
Total sum of debit amounts
Format: 15d - Decimal amount with comma separator Sum of all debit transaction amounts
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field90D
impl<'de> Deserialize<'de> for Field90D
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 SwiftField for Field90D
impl SwiftField for Field90D
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert field back to SWIFT string format
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
Get field format specification
impl StructuralPartialEq for Field90D
Auto Trait Implementations§
impl Freeze for Field90D
impl RefUnwindSafe for Field90D
impl Send for Field90D
impl Sync for Field90D
impl Unpin for Field90D
impl UnwindSafe for Field90D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more