pub struct MT299 {
pub field_20: GenericReferenceField,
pub field_79: Field79,
pub field_21: Option<GenericReferenceField>,
}Expand description
§MT299: Free Format Message (Category 2)
MT299 is used for information where no specific message type exists. This message type is used in Category 2 (financial institution transfers).
§Key Features:
- Used for free format information exchange
- Category 2 routing (financial institution transfers)
- 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 MT299
impl<'de> Deserialize<'de> for MT299
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 MT299
impl SwiftMessageBody for MT299
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 MT299
Auto Trait Implementations§
impl Freeze for MT299
impl RefUnwindSafe for MT299
impl Send for MT299
impl Sync for MT299
impl Unpin for MT299
impl UnwindSafe for MT299
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