pub enum MessageStatus {
Accepted,
Delivered,
Responded,
Failed,
TimedOut,
Expired,
Cancelled,
}Expand description
Enumerates the finite message status cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Accepted
Use this variant when the contract needs to represent accepted; selecting it has no side effect by itself.
Delivered
Use this variant when the contract needs to represent delivered; selecting it has no side effect by itself.
Responded
Use this variant when the contract needs to represent responded; selecting it has no side effect by itself.
Failed
Use this variant when the contract needs to represent failed; 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.
Expired
Use this variant when the contract needs to represent expired; 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.
Trait Implementations§
Source§impl Clone for MessageStatus
impl Clone for MessageStatus
Source§fn clone(&self) -> MessageStatus
fn clone(&self) -> MessageStatus
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 MessageStatus
impl Debug for MessageStatus
Source§impl<'de> Deserialize<'de> for MessageStatus
impl<'de> Deserialize<'de> for MessageStatus
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>,
impl Eq for MessageStatus
Source§impl From<MessageStatus> for RunMessageDeliveryStatus
impl From<MessageStatus> for RunMessageDeliveryStatus
Source§fn from(value: MessageStatus) -> Self
fn from(value: MessageStatus) -> Self
Source§impl PartialEq for MessageStatus
impl PartialEq for MessageStatus
Source§fn eq(&self, other: &MessageStatus) -> bool
fn eq(&self, other: &MessageStatus) -> bool
self and other values to be equal, and is used by ==.