pub enum CeremonyClaimPhase {
Live,
Expired,
Retired,
Completed,
Failed,
}Expand description
Where one accepted claim stands when a report was taken.
A phase, not a status: the step record says what the engine holds,
and this says what that means for the claim an operator is asking
about. It belongs to the domain because succession decides against
it — a claim that is still Live or only Expired needs an
explicit disposition before the work can be handed to a successor,
and a decision cannot reach into the application layer to learn it.
Variants§
Implementations§
Source§impl CeremonyClaimPhase
impl CeremonyClaimPhase
Sourcepub const fn is_outstanding(self) -> bool
pub const fn is_outstanding(self) -> bool
Whether this claim is still outstanding, so a handoff has to say what became of it.
Trait Implementations§
Source§impl Clone for CeremonyClaimPhase
impl Clone for CeremonyClaimPhase
impl Copy for CeremonyClaimPhase
Source§impl Debug for CeremonyClaimPhase
impl Debug for CeremonyClaimPhase
Source§impl<'de> Deserialize<'de> for CeremonyClaimPhase
impl<'de> Deserialize<'de> for CeremonyClaimPhase
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 CeremonyClaimPhase
Source§impl PartialEq for CeremonyClaimPhase
impl PartialEq for CeremonyClaimPhase
Source§impl Serialize for CeremonyClaimPhase
impl Serialize for CeremonyClaimPhase
impl StructuralPartialEq for CeremonyClaimPhase
Auto Trait Implementations§
impl Freeze for CeremonyClaimPhase
impl RefUnwindSafe for CeremonyClaimPhase
impl Send for CeremonyClaimPhase
impl Sync for CeremonyClaimPhase
impl Unpin for CeremonyClaimPhase
impl UnsafeUnpin for CeremonyClaimPhase
impl UnwindSafe for CeremonyClaimPhase
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