pub struct Fault {
pub attribute: Oid<'static>,
pub field: &'static str,
pub cause: Error,
}Expand description
Complete original value diagnostic. Processing refusals are never retained here as malformed syntax: they terminate before a partial report escapes.
Fields§
§attribute: Oid<'static>Original attribute type whose value failed.
field: &'static strField used by the format’s single schema reader.
cause: ErrorOriginal shared/schema error, including its source coordinates.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Fault
impl Forget for Fault
impl RefUnwindSafe for Fault
impl Send for Fault
impl Sync for Fault
impl Unpin for Fault
impl UnsafeUnpin for Fault
impl UnwindSafe for Fault
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