#[repr(u8)]pub enum DepositStatus {
Pending = 0,
CreditedButCannotWithdraw = 6,
WrongDeposit = 7,
WaitingUserConfirm = 8,
Success = 1,
}Expand description
Deposit status reported by the deposit-history endpoint.
Variants§
Pending = 0
CreditedButCannotWithdraw = 6
Credited but cannot withdraw yet.
WrongDeposit = 7
Wrong deposit (e.g. wrong address / chain).
WaitingUserConfirm = 8
Waiting for user confirmation.
Success = 1
Trait Implementations§
Source§impl Clone for DepositStatus
impl Clone for DepositStatus
Source§fn clone(&self) -> DepositStatus
fn clone(&self) -> DepositStatus
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 DepositStatus
Source§impl Debug for DepositStatus
impl Debug for DepositStatus
Source§impl<'de> Deserialize<'de> for DepositStatus
impl<'de> Deserialize<'de> for DepositStatus
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 DepositStatus
Source§impl PartialEq for DepositStatus
impl PartialEq for DepositStatus
Source§fn eq(&self, other: &DepositStatus) -> bool
fn eq(&self, other: &DepositStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DepositStatus
impl Serialize for DepositStatus
impl StructuralPartialEq for DepositStatus
Auto Trait Implementations§
impl Freeze for DepositStatus
impl RefUnwindSafe for DepositStatus
impl Send for DepositStatus
impl Sync for DepositStatus
impl Unpin for DepositStatus
impl UnsafeUnpin for DepositStatus
impl UnwindSafe for DepositStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.