pub enum AccountStatus {
Active,
Dormant,
Frozen,
UnderReview,
Closed,
PendingActivation,
Restricted,
}Expand description
Account status.
Variants§
Active
Account is active and in good standing
Dormant
Account is dormant (no activity for extended period)
Frozen
Account is frozen due to suspicious activity
UnderReview
Account is under review
Closed
Account is closed
PendingActivation
Account is pending activation
Restricted
Account has restrictions
Implementations§
Source§impl AccountStatus
impl AccountStatus
Sourcepub fn allows_transactions(&self) -> bool
pub fn allows_transactions(&self) -> bool
Whether transactions are allowed on this account.
Sourcepub fn can_reopen(&self) -> bool
pub fn can_reopen(&self) -> bool
Whether the account can be reopened.
Sourcepub fn risk_indicator(&self) -> f64
pub fn risk_indicator(&self) -> f64
Risk indicator for status.
Trait Implementations§
Source§impl Clone for AccountStatus
impl Clone for AccountStatus
Source§fn clone(&self) -> AccountStatus
fn clone(&self) -> AccountStatus
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 AccountStatus
impl Debug for AccountStatus
Source§impl Default for AccountStatus
impl Default for AccountStatus
Source§fn default() -> AccountStatus
fn default() -> AccountStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountStatus
impl<'de> Deserialize<'de> for AccountStatus
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 AccountStatus
impl Hash for AccountStatus
Source§impl PartialEq for AccountStatus
impl PartialEq for AccountStatus
Source§impl Serialize for AccountStatus
impl Serialize for AccountStatus
impl Copy for AccountStatus
impl Eq for AccountStatus
impl StructuralPartialEq for AccountStatus
Auto Trait Implementations§
impl Freeze for AccountStatus
impl RefUnwindSafe for AccountStatus
impl Send for AccountStatus
impl Sync for AccountStatus
impl Unpin for AccountStatus
impl UnwindSafe for AccountStatus
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,
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.