pub struct H2 {
pub _01: String,
pub _02: Option<String>,
}Expand description
H2 - Additional Hazardous Material Description
To specify free-form hazardous material descriptive data in addition to the information provided in the H1 segment
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 64 | Hazardous Material Description | M | AN 2/30 | ||
| 02 | 274 | Hazardous Material Classification | O | AN 1/30 |
Fields§
§_01: String§_02: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for H2
impl<'de> Deserialize<'de> for H2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for H2
impl StructuralPartialEq for H2
Auto Trait Implementations§
impl Freeze for H2
impl RefUnwindSafe for H2
impl Send for H2
impl Sync for H2
impl Unpin for H2
impl UnsafeUnpin for H2
impl UnwindSafe for H2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP