pub struct MT199 {
pub field_20: GenericReferenceField,
pub field_79: Field79,
pub field_21: Option<GenericReferenceField>,
}
Expand description
§MT199: Free Format Message (Category 1)
MT199 is used for information where no specific message type exists. This message type is used in Category 1 (customer payments and cheques).
§Key Features:
- Used for free format information exchange
- Category 1 routing (customer payments)
- Can contain reject/return information when narrative starts with /REJT/ or /RETN/
§Fields:
- 20: Transaction Reference Number (Mandatory) - 16x
- 21: Related Reference (Optional) - 16x
- 79: Narrative (Mandatory) - 50*35x
Fields§
§field_20: GenericReferenceField
§field_79: Field79
§field_21: Option<GenericReferenceField>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MT199
impl<'de> Deserialize<'de> for MT199
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 SwiftMessageBody for MT199
impl SwiftMessageBody for MT199
Source§fn message_type() -> &'static str
fn message_type() -> &'static str
Get the message type identifier (e.g., “103”, “202”)
Source§fn from_fields(fields: HashMap<String, Vec<String>>) -> SwiftResult<Self>
fn from_fields(fields: HashMap<String, Vec<String>>) -> SwiftResult<Self>
Create from field map
Source§fn required_fields() -> Vec<&'static str>
fn required_fields() -> Vec<&'static str>
Get required field tags for this message type
Source§fn optional_fields() -> Vec<&'static str>
fn optional_fields() -> Vec<&'static str>
Get optional field tags for this message type
impl StructuralPartialEq for MT199
Auto Trait Implementations§
impl Freeze for MT199
impl RefUnwindSafe for MT199
impl Send for MT199
impl Sync for MT199
impl Unpin for MT199
impl UnwindSafe for MT199
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