pub enum TransferState {
Prepared,
Confirmed,
Cancelled,
WaitingForAdmin,
InsufficientFunds,
WithdrawalLimit,
}Expand description
Transfer state enumeration
Variants§
Prepared
Transfer is prepared but not yet confirmed
Confirmed
Transfer has been confirmed
Cancelled
Transfer has been cancelled
WaitingForAdmin
Transfer is waiting for admin approval
InsufficientFunds
Transfer failed due to insufficient funds
WithdrawalLimit
Transfer failed due to withdrawal limit
Trait Implementations§
Source§impl Clone for TransferState
impl Clone for TransferState
Source§fn clone(&self) -> TransferState
fn clone(&self) -> TransferState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransferState
impl Debug for TransferState
Source§impl Default for TransferState
impl Default for TransferState
Source§impl<'de> Deserialize<'de> for TransferState
impl<'de> Deserialize<'de> for TransferState
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
Source§impl Hash for TransferState
impl Hash for TransferState
Source§impl PartialEq for TransferState
impl PartialEq for TransferState
Source§impl Serialize for TransferState
impl Serialize for TransferState
impl Copy for TransferState
impl Eq for TransferState
impl StructuralPartialEq for TransferState
Auto Trait Implementations§
impl Freeze for TransferState
impl RefUnwindSafe for TransferState
impl Send for TransferState
impl Sync for TransferState
impl Unpin for TransferState
impl UnwindSafe for TransferState
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