#[non_exhaustive]pub struct DecodedField {
pub name: String,
pub level: u16,
pub offset: usize,
pub size: usize,
pub category: &'static str,
pub value: String,
pub raw_hex: String,
pub edited_numeric: Option<String>,
}Expand description
A decoded elementary field.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§level: u16§offset: usize§size: usize§category: &'static str"numeric", "alphanumeric", "edited", "group", or "unsupported".
value: StringThe decoded value: a canonical decimal string for numerics, text for alphanumerics, or an explanatory marker for unsupported/short fields.
raw_hex: StringThe raw field bytes as lowercase hex (the audit trail).
edited_numeric: Option<String>For an edited DISPLAY field (GNURUST.16): the oracle-proven numeric interpretation of the
presentation string (value). None for non-edited fields. JSON keeps value as the edited
presentation string; this is the interpreted numeric, recorded as audit evidence — never a
silent replacement.
Trait Implementations§
Source§impl Clone for DecodedField
impl Clone for DecodedField
Source§impl Debug for DecodedField
impl Debug for DecodedField
impl Eq for DecodedField
Source§impl PartialEq for DecodedField
impl PartialEq for DecodedField
impl StructuralPartialEq for DecodedField
Auto Trait Implementations§
impl Freeze for DecodedField
impl RefUnwindSafe for DecodedField
impl Send for DecodedField
impl Sync for DecodedField
impl Unpin for DecodedField
impl UnsafeUnpin for DecodedField
impl UnwindSafe for DecodedField
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