pub struct CreatePaymentMethodBacsDebit {
pub account_number: Option<String>,
pub sort_code: Option<String>,
}Expand description
If this is a bacs_debit PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
Fields§
§account_number: Option<String>Account number of the bank account that the funds will be debited from.
sort_code: Option<String>Sort code of the bank account. (e.g., 10-20-30)
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentMethodBacsDebit
impl Clone for CreatePaymentMethodBacsDebit
Source§fn clone(&self) -> CreatePaymentMethodBacsDebit
fn clone(&self) -> CreatePaymentMethodBacsDebit
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 CreatePaymentMethodBacsDebit
impl Debug for CreatePaymentMethodBacsDebit
Source§impl PartialEq for CreatePaymentMethodBacsDebit
impl PartialEq for CreatePaymentMethodBacsDebit
Source§fn eq(&self, other: &CreatePaymentMethodBacsDebit) -> bool
fn eq(&self, other: &CreatePaymentMethodBacsDebit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodBacsDebit
impl StructuralPartialEq for CreatePaymentMethodBacsDebit
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodBacsDebit
impl RefUnwindSafe for CreatePaymentMethodBacsDebit
impl Send for CreatePaymentMethodBacsDebit
impl Sync for CreatePaymentMethodBacsDebit
impl Unpin for CreatePaymentMethodBacsDebit
impl UnsafeUnpin for CreatePaymentMethodBacsDebit
impl UnwindSafe for CreatePaymentMethodBacsDebit
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