pub struct Field23 {
pub function_code: String,
pub days: Option<u8>,
pub reference: String,
}
Expand description
§Field 23: Further Identification
Format: 3!a[2!n]11x (function code + optional days + reference) Validation: function_code, reference_format
Fields§
§function_code: String
Function code (3!a format: BASE, CALL, COMMERCIAL, CURRENT, DEPOSIT, NOTICE, PRIME)
days: Option<u8>
Number of days (2!n format, optional, only for NOTICE function)
reference: String
Reference information (11x format)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field23
impl<'de> Deserialize<'de> for Field23
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 Field23
impl SwiftField for Field23
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 Field23
Auto Trait Implementations§
impl Freeze for Field23
impl RefUnwindSafe for Field23
impl Send for Field23
impl Sync for Field23
impl Unpin for Field23
impl UnwindSafe for Field23
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