#[repr(i32)]pub enum DepositState {
Unknown = -1,
Processing = 0,
Credited = 1,
Failed = 2,
Cancelled = 3,
Invalidated = 4,
Rejected = 5,
}Expand description
State of a deposit record
Variants§
Unknown = -1
Unknown (an undocumented code)
Processing = 0
Processing
Credited = 1
Credited to the account
Failed = 2
Failed
Cancelled = 3
Cancelled
Invalidated = 4
Invalidated
Rejected = 5
Rejected
Trait Implementations§
Source§impl Clone for DepositState
impl Clone for DepositState
impl Copy for DepositState
Source§impl Debug for DepositState
impl Debug for DepositState
Source§impl Default for DepositState
impl Default for DepositState
Source§impl<'de> Deserialize<'de> for DepositState
impl<'de> Deserialize<'de> for DepositState
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DepositState
Source§impl From<DepositState> for i32
impl From<DepositState> for i32
Source§fn from(enum_value: DepositState) -> Self
fn from(enum_value: DepositState) -> Self
Converts to this type from the input type.
Source§impl From<i32> for DepositState
impl From<i32> for DepositState
Source§impl FromPrimitive for DepositState
impl FromPrimitive for DepositState
Source§impl Hash for DepositState
impl Hash for DepositState
Source§impl PartialEq for DepositState
impl PartialEq for DepositState
Source§impl Serialize for DepositState
impl Serialize for DepositState
impl StructuralPartialEq for DepositState
Auto Trait Implementations§
impl Freeze for DepositState
impl RefUnwindSafe for DepositState
impl Send for DepositState
impl Sync for DepositState
impl Unpin for DepositState
impl UnsafeUnpin for DepositState
impl UnwindSafe for DepositState
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more