pub enum BctsState {
Show 14 variants
Draft,
Submitted,
IdentityResolved,
ConsentValidated,
Deliberated,
Verified,
Governed,
Approved,
Executed,
Recorded,
Closed,
Denied,
Escalated,
Remediated,
}Expand description
The lifecycle states of a BCTS transaction.
Variants§
Draft
Submitted
IdentityResolved
ConsentValidated
Deliberated
Verified
Governed
Approved
Executed
Recorded
Closed
Denied
Escalated
Remediated
Implementations§
Source§impl BctsState
impl BctsState
Sourcepub fn valid_transitions(self) -> &'static [BctsState]
pub fn valid_transitions(self) -> &'static [BctsState]
Return the set of states that are valid successors of self.
Sourcepub fn can_transition_to(self, target: BctsState) -> bool
pub fn can_transition_to(self, target: BctsState) -> bool
Check whether transitioning to target is allowed.
Trait Implementations§
impl Copy for BctsState
Source§impl<'de> Deserialize<'de> for BctsState
impl<'de> Deserialize<'de> for BctsState
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 BctsState
Source§impl Ord for BctsState
impl Ord for BctsState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for BctsState
impl PartialOrd for BctsState
impl StructuralPartialEq for BctsState
Auto Trait Implementations§
impl Freeze for BctsState
impl RefUnwindSafe for BctsState
impl Send for BctsState
impl Sync for BctsState
impl Unpin for BctsState
impl UnsafeUnpin for BctsState
impl UnwindSafe for BctsState
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