pub struct Update {
pub done: bool,
pub why: Option<String>,
pub mark: i64,
pub err: Option<UpdateErr>,
pub val: Option<Value>,
pub node: Option<Arc<Node>>,
pub fatal: bool,
}Expand description
The bag a custom validator fills in.
Fields§
§done: boolStop running further checks and the structural check.
why: Option<String>The why code on failure.
mark: i64The numeric mark on failure.
err: Option<UpdateErr>§val: Option<Value>A replacement value.
node: Option<Arc<Node>>A replacement node (used by Refer).
fatal: boolThe failure ends the whole walk’s errors here.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Update
impl !UnwindSafe for Update
impl Freeze for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
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