pub enum NoMatchReason {
OutOfGrammar,
ExplicitNoDate,
ImpossibleDate,
}Expand description
Why a Outcome::NoMatch happened — the discriminator a bulk-import
triage step routes on (N11/N12).
Variants§
OutOfGrammar
The input is outside the pattern grammar (N11). Escalate to a human.
ExplicitNoDate
The input explicitly says there is no date (“unknown”, “без даты”)
(N12). What that means — XXXX, an empty column, an error — is form
policy.
ImpossibleDate
The prose matched, but every reading named an impossible or contradictory date (February 30, a reversed range, an impossible “or” alternative). A prose error: escalate, never guess (N14).
Implementations§
Trait Implementations§
Source§impl Clone for NoMatchReason
impl Clone for NoMatchReason
Source§fn clone(&self) -> NoMatchReason
fn clone(&self) -> NoMatchReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoMatchReason
Source§impl Debug for NoMatchReason
impl Debug for NoMatchReason
impl Eq for NoMatchReason
Source§impl PartialEq for NoMatchReason
impl PartialEq for NoMatchReason
impl StructuralPartialEq for NoMatchReason
Auto Trait Implementations§
impl Freeze for NoMatchReason
impl RefUnwindSafe for NoMatchReason
impl Send for NoMatchReason
impl Sync for NoMatchReason
impl Unpin for NoMatchReason
impl UnsafeUnpin for NoMatchReason
impl UnwindSafe for NoMatchReason
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