parse_sequences

Function parse_sequences 

Source
pub fn parse_sequences<T>(
    fields: &HashMap<String, Vec<(String, usize)>>,
    tracker: &mut FieldConsumptionTracker,
) -> Result<Vec<T>>
Expand description

Parse sequence fields (e.g., transactions in MT101, MT104)

This function identifies sequence boundaries and parses each sequence into the target type. Sequences typically start with a mandatory field (like Field 21) that marks the beginning of each repetition.