pub struct CAD {
pub _01: String,
pub _02: Option<String>,
pub _03: Option<String>,
pub _04: Option<String>,
pub _05: Option<String>,
pub _06: Option<String>,
pub _07: Option<String>,
pub _08: Option<String>,
pub _09: Option<String>,
}Expand description
CAD - Carrier Detail
To specify the carrier details
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 100 | Transportation Method/Type Code | 1 | M | ID | 1/2 |
| 02 | 100 | Equipment Initial | 1 | O | AN | 1/4 |
| 03 | 100 | Equipment Number | 1 | O | AN | 1/10 |
| 04 | 100 | Standard Carrier Alpha Code | 1 | O | ID | 2/4 |
| 05 | 100 | Routing | 1 | O | AN | 1/35 |
| 06 | 100 | Shipment/Order Status Code | 1 | O | ID | 2/2 |
| 07 | 100 | Reference Identification Qualifier | 1 | O | ID | 2/3 |
| 08 | 100 | Reference Identification | 1 | O | AN | 1/30 |
| 09 | 100 | Service Level Code | 1 | O | ID | 2/2 |
Fields§
§_01: String§_02: Option<String>§_03: Option<String>§_04: Option<String>§_05: Option<String>§_06: Option<String>§_07: Option<String>§_08: Option<String>§_09: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CAD
impl<'de> Deserialize<'de> for CAD
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 CAD
impl StructuralPartialEq for CAD
Auto Trait Implementations§
impl Freeze for CAD
impl RefUnwindSafe for CAD
impl Send for CAD
impl Sync for CAD
impl Unpin for CAD
impl UnsafeUnpin for CAD
impl UnwindSafe for CAD
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