pub struct SyntaxFinding {
pub scope: SyntaxScope,
pub code: String,
pub segment_tag: String,
pub message_segment_number: u32,
pub element_position: Option<u32>,
pub component_position: Option<u32>,
pub detail: String,
}Expand description
One syntax error of a message.
Fields§
§scope: SyntaxScopeThe CONTRL segment that reports it.
code: StringThe syntax error code, DE0085 ("13", "35", …).
segment_tag: StringThe segment the error is in; for a missing one, the missing segment (a missing group: its first segment).
message_segment_number: u32The segment counter within the message, UNH = 1 (UCS 0096). A missing segment or group is reported at its predecessor.
element_position: Option<u32>The data element’s position in the segment, the tag being 1 (0098).
component_position: Option<u32>The component’s position in its composite, from 1 (0104).
detail: StringWhat is wrong, for people.
Trait Implementations§
Source§impl Clone for SyntaxFinding
impl Clone for SyntaxFinding
Source§impl Debug for SyntaxFinding
impl Debug for SyntaxFinding
Source§impl<'de> Deserialize<'de> for SyntaxFinding
impl<'de> Deserialize<'de> for SyntaxFinding
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 SyntaxFinding
Source§impl PartialEq for SyntaxFinding
impl PartialEq for SyntaxFinding
Source§impl Serialize for SyntaxFinding
impl Serialize for SyntaxFinding
impl StructuralPartialEq for SyntaxFinding
Auto Trait Implementations§
impl Freeze for SyntaxFinding
impl RefUnwindSafe for SyntaxFinding
impl Send for SyntaxFinding
impl Sync for SyntaxFinding
impl Unpin for SyntaxFinding
impl UnsafeUnpin for SyntaxFinding
impl UnwindSafe for SyntaxFinding
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