pub enum ValidateError {
BlankTerm,
BlankPhrase,
BlankNear,
EmptyJunction,
BlankFieldName,
}Expand description
Structural validation errors for QExpr.
Variants§
BlankTerm
A Term node contained a blank term.
BlankPhrase
A Phrase node contained no usable terms.
BlankNear
A Near node contained fewer than 2 usable terms or an invalid window.
EmptyJunction
An And/Or node had no children.
BlankFieldName
A Field node had a blank field name.
Trait Implementations§
Source§impl Clone for ValidateError
impl Clone for ValidateError
Source§fn clone(&self) -> ValidateError
fn clone(&self) -> ValidateError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidateError
impl Debug for ValidateError
Source§impl PartialEq for ValidateError
impl PartialEq for ValidateError
impl Eq for ValidateError
impl StructuralPartialEq for ValidateError
Auto Trait Implementations§
impl Freeze for ValidateError
impl RefUnwindSafe for ValidateError
impl Send for ValidateError
impl Sync for ValidateError
impl Unpin for ValidateError
impl UnsafeUnpin for ValidateError
impl UnwindSafe for ValidateError
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