pub struct ValidationMatch {
pub success: bool,
pub valid: bool,
pub token: Option<u32>,
pub context: Option<Context>,
pub syntax_token: Option<Syntax>,
pub errors: Vec<ErrorDescription>,
}Expand description
result of a match (ValidationMatch)
Fields§
§success: bool§valid: bool§token: Option<u32>§context: Option<Context>§syntax_token: Option<Syntax>§errors: Vec<ErrorDescription>Implementations§
Trait Implementations§
Source§impl Clone for ValidationMatch
impl Clone for ValidationMatch
Auto Trait Implementations§
impl !RefUnwindSafe for ValidationMatch
impl !Send for ValidationMatch
impl !Sync for ValidationMatch
impl !UnwindSafe for ValidationMatch
impl Forget for ValidationMatch
impl Freeze for ValidationMatch
impl Move for ValidationMatch
impl Unpin for ValidationMatch
impl UnsafeUnpin for ValidationMatch
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