x12_alt 0.1.0

Data types for X12 EDI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Serialize, Deserialize};
use crate::numeric::Numeric;
/**To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

See docs at <https://www.stedi.com/edi/x12-005010/segment/SE>*/
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(tag = "code", rename = "SE")]
pub struct TransactionSetTrailer {
    /**SE-01 (96)
Total number of segments included in a transaction set including ST and SE segments*/
    pub number_of_included_segments: Numeric<0>,
    /**SE-02 (329)
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set*/
    pub transaction_set_control_number: String,
}
impl TransactionSetTrailer {}