pub struct AhbNode<'a> {
pub rule: &'a AhbFieldRule,
pub value: Option<&'a str>,
pub segment_elements: Option<&'a [Vec<String>]>,
}Expand description
A single AHB field matched against EDIFACT data.
Fields§
§rule: &'a AhbFieldRuleThe AHB field rule (segment path, ahb_status, codes, etc.)
value: Option<&'a str>The actual value found in the EDIFACT at this position. None if absent.
segment_elements: Option<&'a [Vec<String>]>The full segment elements for cross-element access. None if segment absent.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AhbNode<'a>
impl<'a> RefUnwindSafe for AhbNode<'a>
impl<'a> Send for AhbNode<'a>
impl<'a> Sync for AhbNode<'a>
impl<'a> Unpin for AhbNode<'a>
impl<'a> UnsafeUnpin for AhbNode<'a>
impl<'a> UnwindSafe for AhbNode<'a>
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