Module field_parser

Source
Expand description

Generic field parser and registry system for SWIFT MT fields

This module provides the core field parsing infrastructure with a generic SwiftField trait that all field types implement, plus an extensible registry system for dynamic field parsing.

Re-exports§

pub use crate::validator::FormatRules;

Structs§

SwiftMessage
Generic message structure
UnknownField
Unknown field type for unsupported fields

Enums§

SwiftFieldContainer
Container for all possible field types

Traits§

SwiftField
Generic trait that all SWIFT fields must implement

Functions§

parse_field_from_registry
Parse field using the registry
register_field_parser
Register a custom field parser