#[non_exhaustive]pub enum CreateTransferSourceType {
BankAccount,
Card,
Fpx,
Unknown(String),
}Expand description
The source balance to use for this transfer.
One of bank_account, card, or fpx.
For most users, this will default to card.
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.
BankAccount
Card
Fpx
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateTransferSourceType
impl Clone for CreateTransferSourceType
Source§fn clone(&self) -> CreateTransferSourceType
fn clone(&self) -> CreateTransferSourceType
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 CreateTransferSourceType
Available on non-crate feature redact-generated-debug only.
impl Debug for CreateTransferSourceType
Available on non-crate feature
redact-generated-debug only.Source§impl Display for CreateTransferSourceType
impl Display for CreateTransferSourceType
Source§impl FromStr for CreateTransferSourceType
impl FromStr for CreateTransferSourceType
Source§impl PartialEq for CreateTransferSourceType
impl PartialEq for CreateTransferSourceType
Source§impl Serialize for CreateTransferSourceType
impl Serialize for CreateTransferSourceType
impl Eq for CreateTransferSourceType
impl StructuralPartialEq for CreateTransferSourceType
Auto Trait Implementations§
impl Freeze for CreateTransferSourceType
impl RefUnwindSafe for CreateTransferSourceType
impl Send for CreateTransferSourceType
impl Sync for CreateTransferSourceType
impl Unpin for CreateTransferSourceType
impl UnsafeUnpin for CreateTransferSourceType
impl UnwindSafe for CreateTransferSourceType
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