pub enum RefundState {
Pending,
Processed,
Failed,
Unknown,
}Expand description
Lifecycle state of a Refund.
Variants§
Pending
Queued but not yet sent to the bank.
Processed
The refund completed.
Failed
The refund failed and the money stayed with you.
Unknown
A state this crate does not model yet.
Trait Implementations§
Source§impl Clone for RefundState
impl Clone for RefundState
impl Copy for RefundState
Source§impl Debug for RefundState
impl Debug for RefundState
Source§impl<'de> Deserialize<'de> for RefundState
impl<'de> Deserialize<'de> for RefundState
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 RefundState
Source§impl PartialEq for RefundState
impl PartialEq for RefundState
Source§impl Serialize for RefundState
impl Serialize for RefundState
impl StructuralPartialEq for RefundState
Auto Trait Implementations§
impl Freeze for RefundState
impl RefUnwindSafe for RefundState
impl Send for RefundState
impl Sync for RefundState
impl Unpin for RefundState
impl UnsafeUnpin for RefundState
impl UnwindSafe for RefundState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.