pub struct MS2 {
pub _01: Option<String>,
pub _02: Option<String>,
pub _03: Option<String>,
pub _04: Option<E761>,
}Expand description
MS2 - Equipment or Container Owner and Type
To specify the owner, the identification number assigned by that owner, and the type of equipment
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 140 | Standard Carrier Alpha Code | 1 | X | ID | 2/4 |
| 02 | 207 | Equipment Number | 1 | X | AN | 1/10 |
| 03 | 40 | Equipment Description Code | 1 | O | ID | 2/2 |
| 04 | 761 | Equipment Number Check Digit | 1 | O | N0 | 1/1 |
Fields§
§_01: Option<String>§_02: Option<String>§_03: Option<String>§_04: Option<E761>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MS2
impl<'de> Deserialize<'de> for MS2
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 MS2
impl StructuralPartialEq for MS2
Auto Trait Implementations§
impl Freeze for MS2
impl RefUnwindSafe for MS2
impl Send for MS2
impl Sync for MS2
impl Unpin for MS2
impl UnsafeUnpin for MS2
impl UnwindSafe for MS2
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