#[non_exhaustive]pub enum ClaimPhase {
PreDraft,
AwaitingDocument,
Extracting,
AwaitingReview,
Recorded,
Discarded,
}Expand description
Exactly one lifecycle phase.
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.
PreDraft
The case does not exist yet.
AwaitingDocument
No document has arrived.
Extracting
A document is here and nothing has been read out of it yet.
AwaitingReview
Values are proposed and the review card is waiting for an answer.
The phase is user-owned, and — as the request that prompted this sample pointed out — for a reason the user did not initiate: a document arrived, not a decision.
Recorded
The values are on the record.
Discarded
The document was thrown away.
Trait Implementations§
Source§impl Clone for ClaimPhase
impl Clone for ClaimPhase
impl Copy for ClaimPhase
Source§impl Debug for ClaimPhase
impl Debug for ClaimPhase
Source§impl<'de> Deserialize<'de> for ClaimPhase
impl<'de> Deserialize<'de> for ClaimPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ClaimPhase
Source§impl Hash for ClaimPhase
impl Hash for ClaimPhase
Source§impl PartialEq for ClaimPhase
impl PartialEq for ClaimPhase
Source§impl Serialize for ClaimPhase
impl Serialize for ClaimPhase
impl StructuralPartialEq for ClaimPhase
Auto Trait Implementations§
impl Freeze for ClaimPhase
impl RefUnwindSafe for ClaimPhase
impl Send for ClaimPhase
impl Sync for ClaimPhase
impl Unpin for ClaimPhase
impl UnsafeUnpin for ClaimPhase
impl UnwindSafe for ClaimPhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.