Module messages

Module messages 

Source
Expand description

§SWIFT MT Message Types

Comprehensive message type implementations for SWIFT MT (Message Type) financial messages. Each message struct provides parsing, validation, and serialization.

§Message Categories

  • Category 1 (MT1xx): Customer payments and cheques
  • Category 2 (MT2xx): Financial institution transfers
  • Category 9 (MT9xx): Cash management and customer statements

§Usage

use swift_mt_message::messages::MT103;
use swift_mt_message::traits::SwiftMessageBody;

let mt103 = MT103::parse_from_block4(":20:REF123\r\n:23B:CRED\r\n:32A:240719USD1234,56\r\n:50K:/12345678\r\nJOHN DOE\r\n:59:/98765432\r\nJANE SMITH\r\n:71A:OUR\r\n-")?;
let mt_string = mt103.to_mt_string();

Re-exports§

pub use mt101::MT101;
pub use mt101::MT101Transaction;
pub use mt103::MT103;
pub use mt104::MT104;
pub use mt104::MT104Transaction;
pub use mt107::MT107;
pub use mt107::MT107Transaction;
pub use mt110::MT110;
pub use mt110::MT110Cheque;
pub use mt111::MT111;
pub use mt112::MT112;
pub use mt190::MT190;
pub use mt191::MT191;
pub use mt192::MT192;
pub use mt196::MT196;
pub use mt199::MT199;
pub use mt290::MT290;
pub use mt291::MT291;
pub use mt292::MT292;
pub use mt296::MT296;
pub use mt299::MT299;
pub use mt900::MT900;
pub use mt910::MT910;
pub use mt920::MT920;
pub use mt920::MT920Sequence;
pub use mt935::MT935;
pub use mt935::MT935RateChange;
pub use mt940::MT940;
pub use mt940::MT940StatementLine;
pub use mt941::MT941;
pub use mt942::MT942;
pub use mt942::MT942StatementLine;
pub use mt950::MT950;
pub use mt200::MT200;
pub use mt202::MT202;
pub use mt204::MT204;
pub use mt204::MT204Transaction;
pub use mt205::MT205;
pub use mt210::MT210;

Modules§

mt101
mt103
mt104
mt107
mt110
mt111
mt112
mt190
mt191
mt192
mt196
mt199
mt200
mt202
mt204
mt205
mt210
mt290
mt291
mt292
mt296
mt299
mt900
mt910
mt920
mt935
mt940
mt941
mt942
mt950