pub enum HumanNotPresentNotarizationState {
Drafted,
MandateIssued,
EnvelopeIssued,
Delivered,
Denied,
}Expand description
State in the APH human-not-present notarization flow.
Variants§
Drafted
Agent drafted; notary will auto-decide against the standing mandate.
MandateIssued
Notary issued the CommunicationMandate against DelegationMandate.
EnvelopeIssued
Notary signed and emitted the envelope.
Delivered
Terminal: delivered to channel.
Denied
Terminal: standing mandate denied (scope mismatch, expired, NeverAllow).
Implementations§
Source§impl HumanNotPresentNotarizationState
impl HumanNotPresentNotarizationState
Sourcepub fn is_terminal(&self) -> bool
pub fn is_terminal(&self) -> bool
Returns true if this state is terminal (no further transitions).
Sourcepub fn valid_transitions(&self) -> &'static [Self]
pub fn valid_transitions(&self) -> &'static [Self]
Returns the set of states this state may transition to.
Sourcepub fn can_transition_to(&self, next: Self) -> bool
pub fn can_transition_to(&self, next: Self) -> bool
Returns true if next is a legal successor of self.
Trait Implementations§
Source§impl Clone for HumanNotPresentNotarizationState
impl Clone for HumanNotPresentNotarizationState
Source§fn clone(&self) -> HumanNotPresentNotarizationState
fn clone(&self) -> HumanNotPresentNotarizationState
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 HumanNotPresentNotarizationState
Source§impl<'de> Deserialize<'de> for HumanNotPresentNotarizationState
impl<'de> Deserialize<'de> for HumanNotPresentNotarizationState
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 HumanNotPresentNotarizationState
impl StructuralPartialEq for HumanNotPresentNotarizationState
Auto Trait Implementations§
impl Freeze for HumanNotPresentNotarizationState
impl RefUnwindSafe for HumanNotPresentNotarizationState
impl Send for HumanNotPresentNotarizationState
impl Sync for HumanNotPresentNotarizationState
impl Unpin for HumanNotPresentNotarizationState
impl UnsafeUnpin for HumanNotPresentNotarizationState
impl UnwindSafe for HumanNotPresentNotarizationState
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