pub struct CMC {
pub _01: Option<String>,
pub _02: Option<String>,
}Expand description
CMC - Commodity Classification
To identify the commodity and freight class of an item
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 22 | Commodity Code | 1 | O | AN | 1/30 |
| 02 | 59 | Freight Class Code | 1 | O | AN | 2/5 |
Fields§
§_01: Option<String>§_02: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CMC
impl<'de> Deserialize<'de> for CMC
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 CMC
impl StructuralPartialEq for CMC
Auto Trait Implementations§
impl Freeze for CMC
impl RefUnwindSafe for CMC
impl Send for CMC
impl Sync for CMC
impl Unpin for CMC
impl UnsafeUnpin for CMC
impl UnwindSafe for CMC
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