pub struct Y2 {
pub _01: E95,
pub _02: Option<E78>,
pub _03: Option<String>,
pub _04: String,
pub _05: Option<String>,
pub _06: Option<String>,
pub _07: Option<String>,
pub _08: Option<String>,
pub _09: Option<E465>,
pub _10: Option<E466>,
}Expand description
Y2 - Container Details
To specify the container details for an ocean shipment
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 95 | Number of Containers | 1 | M | N0 | 1/4 |
| 02 | 78 | Container Type Request Code | 1 | O | ID | 1/1 |
| 03 | 56 | Type of Service Code | 1 | O | ID | 2/2 |
| 04 | 24 | Equipment Type | 1 | M | ID | 4/4 |
| 05 | 91 | Transportation Method/Type Code | 1 | O | ID | 1/2 |
| 06 | 177 | Intermodal Service Code | 1 | O | ID | 1/2 |
| 07 | 140 | Standard Carrier Alpha Code | 1 | O | ID | 2/4 |
| 08 | 464 | Container Terms Code | 1 | O | ID | 3/3 |
| 09 | 465 | Container Terms Code Qualifier | 1 | O | ID | 1/1 |
| 10 | 466 | Total Stop-offs | 1 | O | N0 | 1/2 |
Fields§
§_01: E95§_02: Option<E78>§_03: Option<String>§_04: String§_05: Option<String>§_06: Option<String>§_07: Option<String>§_08: Option<String>§_09: Option<E465>§_10: Option<E466>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Y2
impl<'de> Deserialize<'de> for Y2
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 Y2
impl StructuralPartialEq for Y2
Auto Trait Implementations§
impl Freeze for Y2
impl RefUnwindSafe for Y2
impl Send for Y2
impl Sync for Y2
impl Unpin for Y2
impl UnsafeUnpin for Y2
impl UnwindSafe for Y2
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