Struct InterchangeControlHeader

Source
pub struct InterchangeControlHeader {
Show 16 fields pub authorization_information_qualifier: AuthorizationInformationQualifier, pub authorization_information: Fixed<10>, pub security_information_qualifier: Fixed<2>, pub security_information: Fixed<10>, pub interchange_id_qualifier: Fixed<2>, pub interchange_sender_id: Fixed<15>, pub isa07: Fixed<2>, pub interchange_receiver_id: Fixed<15>, pub interchange_date: Fixed<6>, pub interchange_time: Fixed<4>, pub repetition_separator: Fixed<1>, pub interchange_control_version_number_code: Fixed<5>, pub interchange_control_number: Fixed<9>, pub acknowledgment_requested_code: Fixed<1>, pub interchange_usage_indicator_code: Fixed<1>, pub component_data_element_separator: Fixed<1>,
}
Expand description

To start and identify an interchange of zero or more functional groups and interchange-related control segments

See docs at https://www.stedi.com/edi/x12/segment/ISA

Fields§

§authorization_information_qualifier: AuthorizationInformationQualifier

ISA-01 (I01) Code identifying the type of information in the Authorization Information

§authorization_information: Fixed<10>

ISA-02 (I02) Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

§security_information_qualifier: Fixed<2>

ISA-03 (I03) Code identifying the type of information in the Security Information

§security_information: Fixed<10>

ISA-04 (I04) This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

§interchange_id_qualifier: Fixed<2>

ISA-05 (I05) Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

§interchange_sender_id: Fixed<15>

ISA-06 (I06) Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

§isa07: Fixed<2>

ISA-07 (I05) Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified

§interchange_receiver_id: Fixed<15>

ISA-08 (I07) Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

§interchange_date: Fixed<6>

ISA-09 (I08) Date of the interchange

§interchange_time: Fixed<4>

ISA-10 (I09) Time of the interchange

§repetition_separator: Fixed<1>

ISA-11 (I65) Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator

§interchange_control_version_number_code: Fixed<5>

ISA-12 (I11) Code specifying the version number of the interchange control segments, the version of the data elements within the control segments, and the code values within those data elements.

§interchange_control_number: Fixed<9>

ISA-13 (I12) A control number assigned by the interchange sender

§acknowledgment_requested_code: Fixed<1>

ISA-14 (I13) Code indicating sender’s request for an interchange acknowledgment

§interchange_usage_indicator_code: Fixed<1>

ISA-15 (I14) Code indicating whether data enclosed by this interchange envelope is test, production or information

§component_data_element_separator: Fixed<1>

ISA-16 (I15) Type is not applicable; the component data element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

Trait Implementations§

Source§

impl Clone for InterchangeControlHeader

Source§

fn clone(&self) -> InterchangeControlHeader

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for InterchangeControlHeader

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for InterchangeControlHeader

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for InterchangeControlHeader

Source§

fn eq(&self, other: &InterchangeControlHeader) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for InterchangeControlHeader

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for InterchangeControlHeader

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,