pub struct EdifactFormat {
pub data_type: EdifactDataType,
pub min_length: Option<usize>,
pub max_length: usize,
}Expand description
Parsed EDIFACT format specification (e.g., “an..35”, “n13”).
Fields§
§data_type: EdifactDataType§min_length: Option<usize>Minimum length (None for variable-length formats like “an..35”).
max_length: usizeMaximum length.
Implementations§
Trait Implementations§
Source§impl Clone for EdifactFormat
impl Clone for EdifactFormat
Source§fn clone(&self) -> EdifactFormat
fn clone(&self) -> EdifactFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdifactFormat
impl Debug for EdifactFormat
Source§impl<'de> Deserialize<'de> for EdifactFormat
impl<'de> Deserialize<'de> for EdifactFormat
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
Source§impl PartialEq for EdifactFormat
impl PartialEq for EdifactFormat
Source§impl Serialize for EdifactFormat
impl Serialize for EdifactFormat
impl Eq for EdifactFormat
impl StructuralPartialEq for EdifactFormat
Auto Trait Implementations§
impl Freeze for EdifactFormat
impl RefUnwindSafe for EdifactFormat
impl Send for EdifactFormat
impl Sync for EdifactFormat
impl Unpin for EdifactFormat
impl UnsafeUnpin for EdifactFormat
impl UnwindSafe for EdifactFormat
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