Struct x12_types::v004010::CD3

source ·
pub struct CD3 {
Show 14 fields pub _01: Option<String>, pub _02: Option<String>, pub _03: Option<String>, pub _04: Option<String>, pub _05: Option<String>, pub _06: Option<String>, pub _07: Option<String>, pub _08: Option<String>, pub _09: Option<String>, pub _10: Option<String>, pub _11: Option<String>, pub _12: Option<String>, pub _13: Option<String>, pub _14: Option<String>,
}
Expand description

CD3 - Carton (Package) Detail

To transmit identifying codes, weights, and other related information related to an individual carton (package)

REFIDNAMEREPEATREQTYPEMIN/MAX
01187Weight Qualifier1XID1/2
0281Weight1XR1/10
03619Zone1OAN2/3
0434Service Standard1ON11/4
05284Service Level Code1XID2/2
06108Pick-up or Delivery Code1OID1/2
07122Rate/Value Qualifier1XID2/2
0858Charge1X/ZN21/12
09122Rate/Value Qualifier1XID2/2
1058Charge1X/ZN21/12
11284Service Level Code1XID2/2
12284Service Level Code1OID2/2
13591Payment Method Code1OID3/3
1426Country Code1O/ZID2/3

Fields§

§_01: Option<String>§_02: Option<String>§_03: Option<String>§_04: Option<String>§_05: Option<String>§_06: Option<String>§_07: Option<String>§_08: Option<String>§_09: Option<String>§_10: Option<String>§_11: Option<String>§_12: Option<String>§_13: Option<String>§_14: Option<String>

26 - Country Code

Code identifying the country

  • TYPE=ID
  • MIN=2
  • MAX=3

Trait Implementations§

source§

impl Clone for CD3

source§

fn clone(&self) -> CD3

Returns a copy 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 CD3

source§

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

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

impl Default for CD3

source§

fn default() -> CD3

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CD3

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 Display for CD3

source§

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

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

impl<'a> Parser<&'a str, CD3, Error<&'a str>> for CD3

source§

fn parse(input: &'a str) -> IResult<&'a str, CD3>

source§

impl PartialEq for CD3

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CD3

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 Eq for CD3

source§

impl StructuralEq for CD3

source§

impl StructuralPartialEq for CD3

Auto Trait Implementations§

§

impl RefUnwindSafe for CD3

§

impl Send for CD3

§

impl Sync for CD3

§

impl Unpin for CD3

§

impl UnwindSafe for CD3

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. 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 Twhere 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 Twhere T: Clone,

§

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> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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 Twhere T: for<'de> Deserialize<'de>,