#[non_exhaustive]pub enum Reason {
Number(String),
Attribution {
number: String,
word: String,
},
Day(String),
Address(String),
Words(Vec<String>),
Premise(Vec<String>),
Answer,
}Expand description
Why a sentence was left out.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Number(String)
A number the sources do not hold, as written (20k).
Attribution
A number the sources hold, next to a word they give only to other numbers (8k,
express: “express is 8k” for “regular 8k, express 15k”).
Day(String)
A day the facts do not open or close on, as written.
Address(String)
A link, email address or @handle the facts do not write.
Words(Vec<String>)
Words the facts do not hold.
Premise(Vec<String>)
Words the facts do not hold that the customer wrote: the reply takes up the customer’s premise (“Delivery is free, right?” -> “Yes, delivery is free”).
Answer
A yes or a no with nothing the facts hold.
Implementations§
Trait Implementations§
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Forget for Reason
impl Freeze for Reason
impl Move for Reason
impl RefUnwindSafe for Reason
impl Send for Reasonwhere
RawVecInner: Send,
impl Sync for Reasonwhere
RawVecInner: Sync,
impl Unpin for Reason
impl UnsafeUnpin for Reasonwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Reasonwhere
RawVecInner: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.