pub struct EntryQualifier {
pub tag: String,
pub element: usize,
pub component: usize,
pub codes: Vec<String>,
pub nested_group_ids: Vec<String>,
pub mig_numbers: Vec<String>,
}Expand description
The qualifier that identifies a group variant: the codes the MIG allows in the first coded data element of the group’s entry segment.
Fields§
§tag: StringEntry segment tag, e.g. "NAD".
element: usizeElement index within the segment (0-based).
component: usizeComponent index within the element (0 for a simple data element).
codes: Vec<String>Allowed codes, in MIG order.
nested_group_ids: Vec<String>IDs of the groups nested in this variant (e.g. ["SG3"] for the SG2
NAD+MS variant that holds the sender’s contact).
mig_numbers: Vec<String>MIG Numbers of this variant’s own segments. A merged group keeps one
variant’s segments, so without these the numbers of the others are
lost — ORDERS 17118’s SG30 CCI+Z39 (00100) beside CCI+Z35
(00097..00099) — and the rules of those variants never reach an
instance under the parent.
Implementations§
Source§impl EntryQualifier
impl EntryQualifier
Sourcepub fn same_qualifier(&self, other: &EntryQualifier) -> bool
pub fn same_qualifier(&self, other: &EntryQualifier) -> bool
Whether other identifies the same variant (nested groups aside).