pub enum PaymentMeans {
CreditTransfer(Vec<CreditTransfer>),
Card(PaymentCard),
DirectDebit(DirectDebit),
}Expand description
BG-17 xor BG-18 xor BG-19. Several IBANs are several credit-transfer accounts. Do not store IBAN as a string beside this enum.
Variants§
CreditTransfer(Vec<CreditTransfer>)
BG-17 credit transfer. Several IBANs are several accounts.
Card(PaymentCard)
BG-18 payment card.
DirectDebit(DirectDebit)
BG-19 direct debit.
Trait Implementations§
Source§impl Clone for PaymentMeans
impl Clone for PaymentMeans
Source§fn clone(&self) -> PaymentMeans
fn clone(&self) -> PaymentMeans
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentMeans
impl Debug for PaymentMeans
impl Eq for PaymentMeans
Source§impl PartialEq for PaymentMeans
impl PartialEq for PaymentMeans
impl StructuralPartialEq for PaymentMeans
Auto Trait Implementations§
impl Freeze for PaymentMeans
impl RefUnwindSafe for PaymentMeans
impl Send for PaymentMeans
impl Sync for PaymentMeans
impl Unpin for PaymentMeans
impl UnsafeUnpin for PaymentMeans
impl UnwindSafe for PaymentMeans
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