#[non_exhaustive]pub enum FundingReason {
ClientFunding,
AccountTransfer,
DivisionMigration,
SiteMigration,
Adjustment,
Unknown(String),
}Expand description
The reason that an Account is being funded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClientFunding
The client has initiated a funds transfer
AccountTransfer
Funds are being transferred between two Accounts.
DivisionMigration
Funds are being transferred as part of a Division migration
SiteMigration
Funds are being transferred as part of a Site migration
Adjustment
Funds are being transferred as part of an Account adjustment
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for FundingReason
impl Clone for FundingReason
Source§impl Debug for FundingReason
impl Debug for FundingReason
Source§impl<'de> Deserialize<'de> for FundingReason
impl<'de> Deserialize<'de> for FundingReason
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 FundingReason
Source§impl Hash for FundingReason
impl Hash for FundingReason
Source§impl PartialEq for FundingReason
impl PartialEq for FundingReason
Source§impl Serialize for FundingReason
impl Serialize for FundingReason
impl StructuralPartialEq for FundingReason
Auto Trait Implementations§
impl Freeze for FundingReason
impl RefUnwindSafe for FundingReason
impl Send for FundingReason
impl Sync for FundingReason
impl Unpin for FundingReason
impl UnsafeUnpin for FundingReason
impl UnwindSafe for FundingReason
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