pub struct Field32A {
pub value_date: NaiveDate,
pub currency: String,
pub amount: f64,
}
Expand description
Field 32A: Value Date, Currency Code, Amount
Core transaction field with value date, currency, and amount.
Fields§
§value_date: NaiveDate
Value date (YYMMDD)
currency: String
Currency code (ISO 4217)
amount: f64
Amount
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field32A
impl<'de> Deserialize<'de> for Field32A
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 Field32A
impl SwiftField for Field32A
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert field back to SWIFT string format
Source§fn validate(&self) -> ValidationResult
fn validate(&self) -> ValidationResult
Validate field according to SWIFT format rules
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
Get field format specification
impl StructuralPartialEq for Field32A
Auto Trait Implementations§
impl Freeze for Field32A
impl RefUnwindSafe for Field32A
impl Send for Field32A
impl Sync for Field32A
impl Unpin for Field32A
impl UnwindSafe for Field32A
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