DGS

Struct DGS 

Source
pub struct DGS {
Show 13 fields pub _010: Option<String>, pub _020: Option<C205>, pub _030: Option<C234>, pub _040: Option<C223>, pub _050: Option<String>, pub _060: Option<String>, pub _070: Option<String>, pub _080: Option<String>, pub _090: Option<C235>, pub _100: Option<C236>, pub _110: Option<String>, pub _120: Option<String>, pub _130: Option<String>,
}
Expand description

DGS - DANGEROUS GOODS

A segment to specify dangerous goods details related to the goods item.

Fields§

§_010: Option<String>

DANGEROUS GOODS REGULATIONS CODE

Code specifying a dangerous goods regulation.

§_020: Option<C205>

C205 - HAZARD CODE

The identification of the dangerous goods in code.

§_030: Option<C234>

C234 - UNDG INFORMATION

Information on dangerous goods, taken from the United Nations Dangerous Goods classification.

§_040: Option<C223>

C223 - DANGEROUS GOODS SHIPMENT FLASHPOINT

Temperature at which a vapor can be ignited as per ISO 1523/73.

§_050: Option<String>

PACKAGING DANGER LEVEL CODE

Code specifying the level of danger for which the packaging must cater.

§_060: Option<String>

EMERGENCY PROCEDURE FOR SHIPS IDENTIFIER

To identify the emergency procedure number for ships transporting dangerous goods. Synonym: EMS Number.

§_070: Option<String>

HAZARD MEDICAL FIRST AID GUIDE IDENTIFIER

To identify a Medical First Aid Guide (MFAG) for hazardous goods.

§_080: Option<String>

TRANSPORT EMERGENCY CARD IDENTIFIER

To identify a transport emergency (TREM) card.

§_090: Option<C235>

C235 - HAZARD IDENTIFICATION PLACARD DETAILS

These numbers appear on the hazard identification placard required on the means of transport.

§_100: Option<C236>

C236 - DANGEROUS GOODS LABEL

Markings identifying the type of hazardous goods and similar information.

§_110: Option<String>

PACKING INSTRUCTION TYPE CODE

Code specifying a type of packing instruction.

§_120: Option<String>

HAZARDOUS MEANS OF TRANSPORT CATEGORY CODE

Code specifying the category of means of transport for carrying hazardous goods.

§_130: Option<String>

HAZARDOUS CARGO TRANSPORT AUTHORISATION CODE

Code specifying the authorisation for the transportation of hazardous cargo.

Trait Implementations§

Source§

impl Debug for DGS

Source§

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

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

impl Default for DGS

Source§

fn default() -> DGS

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

impl<'de> Deserialize<'de> for DGS

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 DGS

Source§

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

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

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

Source§

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

Source§

impl Serialize for DGS

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

Auto Trait Implementations§

§

impl Freeze for DGS

§

impl RefUnwindSafe for DGS

§

impl Send for DGS

§

impl Sync for DGS

§

impl Unpin for DGS

§

impl UnwindSafe for DGS

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

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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>,