#[repr(i32)]pub enum WithdrawalState {
Show 15 variants
Unknown = -1,
Submitted = 0,
Processing = 1,
Rejected = 2,
Cancelled = 3,
Remitted = 4,
Failed = 5,
Refunded = 6,
ApprovedAwaitingPayout = 7,
LargeAmountReview = 8,
ChangePendingApproval = 9,
DeletionPendingApproval = 10,
Deleted = 11,
RejectionPendingApproval = 12,
AwaitingConfirmation = 15,
}Expand description
State of a withdrawal record
Variants§
Unknown = -1
Unknown (an undocumented code)
Submitted = 0
Submitted
Processing = 1
Processing
Rejected = 2
Rejected
Cancelled = 3
Cancelled
Remitted = 4
Remitted
Failed = 5
Failed
Refunded = 6
Refunded
ApprovedAwaitingPayout = 7
Approved, awaiting payout
LargeAmountReview = 8
Large-amount review
ChangePendingApproval = 9
Change pending approval
DeletionPendingApproval = 10
Deletion pending approval
Deleted = 11
Deleted
RejectionPendingApproval = 12
Rejection pending approval
AwaitingConfirmation = 15
Awaiting confirmation
Trait Implementations§
Source§impl Clone for WithdrawalState
impl Clone for WithdrawalState
impl Copy for WithdrawalState
Source§impl Debug for WithdrawalState
impl Debug for WithdrawalState
Source§impl Default for WithdrawalState
impl Default for WithdrawalState
Source§impl<'de> Deserialize<'de> for WithdrawalState
impl<'de> Deserialize<'de> for WithdrawalState
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 WithdrawalState
Source§impl From<WithdrawalState> for i32
impl From<WithdrawalState> for i32
Source§fn from(enum_value: WithdrawalState) -> Self
fn from(enum_value: WithdrawalState) -> Self
Converts to this type from the input type.
Source§impl From<i32> for WithdrawalState
impl From<i32> for WithdrawalState
Source§impl FromPrimitive for WithdrawalState
impl FromPrimitive for WithdrawalState
Source§impl Hash for WithdrawalState
impl Hash for WithdrawalState
Source§impl PartialEq for WithdrawalState
impl PartialEq for WithdrawalState
Source§impl Serialize for WithdrawalState
impl Serialize for WithdrawalState
impl StructuralPartialEq for WithdrawalState
Auto Trait Implementations§
impl Freeze for WithdrawalState
impl RefUnwindSafe for WithdrawalState
impl Send for WithdrawalState
impl Sync for WithdrawalState
impl Unpin for WithdrawalState
impl UnsafeUnpin for WithdrawalState
impl UnwindSafe for WithdrawalState
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