pub struct DecodedField {
pub name: String,
pub value: String,
pub raw: Vec<u8>,
pub decl: FieldDecl,
pub findings: Vec<Finding>,
}Expand description
A decoded leaf field: its name, the rendered semantic value, the raw bytes, the declaration it came
from, and any findings raised while decoding it.
Fields§
§name: StringThe field name.
value: StringThe rendered value (see [crate::export] for the rendering policy).
raw: Vec<u8>The exact raw bytes of the field.
decl: FieldDeclThe originating declaration.
findings: Vec<Finding>Findings raised while decoding (empty = clean).
Trait Implementations§
Source§impl Clone for DecodedField
impl Clone for DecodedField
Source§fn clone(&self) -> DecodedField
fn clone(&self) -> DecodedField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecodedField
impl Debug for DecodedField
impl Eq for DecodedField
Source§impl PartialEq for DecodedField
impl PartialEq for DecodedField
Source§fn eq(&self, other: &DecodedField) -> bool
fn eq(&self, other: &DecodedField) -> bool
Tests for
self and other values to be equal, and is used by ==.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