pub enum ApprovalTerminalStatus {
Approved,
ApprovedForSession,
Denied,
TimedOut,
Cancelled,
DispatcherUnavailable,
RecoveryRequired,
}Expand description
Enumerates the finite approval terminal status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Approved
Use this variant when the contract needs to represent approved; selecting it has no side effect by itself.
ApprovedForSession
Use this variant when the contract needs to represent approved for session; selecting it has no side effect by itself.
Denied
Use this variant when the contract needs to represent denied; selecting it has no side effect by itself.
TimedOut
Use this variant when the contract needs to represent timed out; selecting it has no side effect by itself.
Cancelled
Use this variant when the contract needs to represent cancelled; selecting it has no side effect by itself.
Use this variant when the contract needs to represent dispatcher unavailable; selecting it has no side effect by itself.
RecoveryRequired
Use this variant when the contract needs to represent recovery required; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ApprovalTerminalStatus
impl Clone for ApprovalTerminalStatus
Source§fn clone(&self) -> ApprovalTerminalStatus
fn clone(&self) -> ApprovalTerminalStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApprovalTerminalStatus
impl Debug for ApprovalTerminalStatus
Source§impl<'de> Deserialize<'de> for ApprovalTerminalStatus
impl<'de> Deserialize<'de> for ApprovalTerminalStatus
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>,
Source§impl PartialEq for ApprovalTerminalStatus
impl PartialEq for ApprovalTerminalStatus
Source§fn eq(&self, other: &ApprovalTerminalStatus) -> bool
fn eq(&self, other: &ApprovalTerminalStatus) -> bool
self and other values to be equal, and is used by ==.