pub struct LHR {
pub _01: String,
pub _02: String,
pub _03: Option<String>,
}Expand description
LHR - Hazardous Material Identifying Reference Numbers
To transmit specific hazardous material reference numbers
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 128 | Reference Identification Qualifier | 1 | M | ID | 2/3 |
| 02 | 127 | Reference Identification | 1 | M | AN | 1/30 |
| 03 | 373 | Date NEW | 1 | O | DT | 8/8 |
Fields§
§_01: String§_02: String§_03: Option<String>373 - Date
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- TYPE=DT
- MIN=8
- MAX=8
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LHR
impl<'de> Deserialize<'de> for LHR
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 LHR
impl StructuralPartialEq for LHR
Auto Trait Implementations§
impl Freeze for LHR
impl RefUnwindSafe for LHR
impl Send for LHR
impl Sync for LHR
impl Unpin for LHR
impl UnsafeUnpin for LHR
impl UnwindSafe for LHR
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