pub struct ErrorTree {
pub errors: Vec<String>,
pub properties: HashMap<String, ErrorTree>,
pub items: Vec<Option<ErrorTree>>,
}Expand description
Tree-based error structure, mirrors the schema shape.
Fields§
§errors: Vec<String>§properties: HashMap<String, ErrorTree>§items: Vec<Option<ErrorTree>>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorTree
impl RefUnwindSafe for ErrorTree
impl Send for ErrorTree
impl Sync for ErrorTree
impl Unpin for ErrorTree
impl UnsafeUnpin for ErrorTree
impl UnwindSafe for ErrorTree
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