pub struct ValidationState {
pub errors: Vec<ValidationError>,
pub conditional_stack: Vec<(usize, &'static str)>,
pub loop_stack: Vec<(usize, &'static str)>,
}Fields§
§errors: Vec<ValidationError>§conditional_stack: Vec<(usize, &'static str)>§loop_stack: Vec<(usize, &'static str)>Trait Implementations§
Source§impl Default for ValidationState
impl Default for ValidationState
Source§fn default() -> ValidationState
fn default() -> ValidationState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidationState
impl RefUnwindSafe for ValidationState
impl Send for ValidationState
impl Sync for ValidationState
impl Unpin for ValidationState
impl UnsafeUnpin for ValidationState
impl UnwindSafe for ValidationState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more