pub enum PayoutType {
BankAccount,
Card,
}Expand description
Can be bank_account or card.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PayoutType
impl Clone for PayoutType
Source§fn clone(&self) -> PayoutType
fn clone(&self) -> PayoutType
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 PayoutType
impl Debug for PayoutType
Source§impl Deserialize for PayoutType
impl Deserialize for PayoutType
Source§impl Display for PayoutType
impl Display for PayoutType
Source§impl FromStr for PayoutType
impl FromStr for PayoutType
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<PayoutType, <PayoutType as FromStr>::Err>
fn from_str(s: &str) -> Result<PayoutType, <PayoutType as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for PayoutType
impl PartialEq for PayoutType
impl Copy for PayoutType
impl Eq for PayoutType
impl StructuralPartialEq for PayoutType
Auto Trait Implementations§
impl Freeze for PayoutType
impl RefUnwindSafe for PayoutType
impl Send for PayoutType
impl Sync for PayoutType
impl Unpin for PayoutType
impl UnwindSafe for PayoutType
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