pub enum CodeForm {
Names,
Raw,
}Expand description
How Mapper::from_edifact_with writes code fields.
Variants§
Names
Through the rule’s table: NAD+Z65 → "kundeDesLf". The canonical form,
and what Mapper::from_edifact writes. Names belong to the release
that wrote them.
Raw
As on the wire: NAD+Z65 → "Z65", stable across releases. Each
element is written once — no also_target field is derived from it.
Mapper::to_edifact accepts it and renders the same message.
Trait Implementations§
impl Copy for CodeForm
impl Eq for CodeForm
impl StructuralPartialEq for CodeForm
Auto Trait Implementations§
impl Freeze for CodeForm
impl RefUnwindSafe for CodeForm
impl Send for CodeForm
impl Sync for CodeForm
impl Unpin for CodeForm
impl UnsafeUnpin for CodeForm
impl UnwindSafe for CodeForm
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.