pub struct BankAccount {
pub bank_name: String,
pub bank_country: String,
pub account_number: String,
pub routing_code: String,
pub holder_name: String,
pub is_primary: bool,
}Expand description
Bank account information for payments.
Fields§
§bank_name: StringBank name
bank_country: StringBank country
account_number: StringAccount number or IBAN
routing_code: StringRouting number / BIC / SWIFT
holder_name: StringAccount holder name
is_primary: boolIs this the primary account?
Implementations§
Trait Implementations§
Source§impl Clone for BankAccount
impl Clone for BankAccount
Source§fn clone(&self) -> BankAccount
fn clone(&self) -> BankAccount
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 BankAccount
impl Debug for BankAccount
Source§impl<'de> Deserialize<'de> for BankAccount
impl<'de> Deserialize<'de> for BankAccount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BankAccount
impl RefUnwindSafe for BankAccount
impl Send for BankAccount
impl Sync for BankAccount
impl Unpin for BankAccount
impl UnwindSafe for BankAccount
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