pub struct CPR {
pub _01: E1053,
pub _02: String,
pub _03: E212,
pub _04: E1054,
pub _05: Option<E1073>,
}Expand description
CPR - Commodity Price Reference
To convey commodity pricing information referenced to a market exchange
| REF | ID | NAME | REPEAT | REQ | TYPE | MIN/MAX |
|---|---|---|---|---|---|---|
| 01 | 1053 | Market Exchange Identifier | 1 | M | ID | 3/3 |
| 02 | 373 | Date | 1 | M | DT | 8/8 |
| 03 | 212 | Unit Price | 1 | M | R | 1/17 |
| 04 | 1054 | Commodity Identification | 1 | M | ID | 2/2 |
| 05 | 1073 | Yes/No Condition or Response Code | 1 | O | ID | 1/1 |
Fields§
§_01: E1053§_02: String§_03: E212§_04: E1054§_05: Option<E1073>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CPR
impl<'de> Deserialize<'de> for CPR
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 CPR
impl StructuralPartialEq for CPR
Auto Trait Implementations§
impl Freeze for CPR
impl RefUnwindSafe for CPR
impl Send for CPR
impl Sync for CPR
impl Unpin for CPR
impl UnsafeUnpin for CPR
impl UnwindSafe for CPR
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