Skip to main content

OwnedMessageWindow

Type Alias OwnedMessageWindow 

Source
pub type OwnedMessageWindow = MessageWindow<'static>;
Expand description

A MessageWindow that owns its text — what the reader path produces.

Aliased Type§

pub struct OwnedMessageWindow {
    pub message_type: Option<Cow<'static, str>>,
    pub association_code: Option<Cow<'static, str>>,
    pub segments: Vec<Segment<'static>>,
}

Fields§

§message_type: Option<Cow<'static, str>>

EDIFACT message type from UNH element 1, component 0 (DE 0065).

§association_code: Option<Cow<'static, str>>

Association-assigned code from UNH element 1, component 4 (DE 0057).

§segments: Vec<Segment<'static>>

All segments in this window, from UNH through UNT inclusive.