pub struct AbaPaymentInfo {
pub account_holder_given_name: String,
pub account_holder_surname: Option<String>,
pub account_holder_city: String,
pub account_holder_country: String,
pub account_holder_address1: String,
pub account_holder_address2: Option<String>,
pub account_holder_district: Option<String>,
pub account_holder_postal_code: String,
pub aba_routing_number: String,
pub aba_account_number: String,
pub aba_country: String,
}Expand description
AbaPaymentInfo : ABA payment information for US bank transfers
Fields§
§account_holder_given_name: StringThe given name (first name) of the account holder
account_holder_surname: Option<String>The surname (last name) of the account holder
account_holder_city: StringThe city where the account holder resides
account_holder_country: StringThe country where the account holder resides (ISO 3166-1 alpha-2 code)
account_holder_address1: StringThe primary address line of the account holder
account_holder_address2: Option<String>The secondary address line of the account holder (optional)
account_holder_district: Option<String>The district or region where the account holder resides
account_holder_postal_code: StringThe postal code of the account holder’s address
aba_routing_number: StringThe ABA routing number for the bank
aba_account_number: StringThe account number at the bank
aba_country: StringThe country for the ABA transfer (ISO 3166-1 alpha-2 code)
Implementations§
Source§impl AbaPaymentInfo
impl AbaPaymentInfo
Sourcepub fn new(
account_holder_given_name: String,
account_holder_city: String,
account_holder_country: String,
account_holder_address1: String,
account_holder_postal_code: String,
aba_routing_number: String,
aba_account_number: String,
aba_country: String,
) -> AbaPaymentInfo
pub fn new( account_holder_given_name: String, account_holder_city: String, account_holder_country: String, account_holder_address1: String, account_holder_postal_code: String, aba_routing_number: String, aba_account_number: String, aba_country: String, ) -> AbaPaymentInfo
ABA payment information for US bank transfers
Trait Implementations§
Source§impl Clone for AbaPaymentInfo
impl Clone for AbaPaymentInfo
Source§fn clone(&self) -> AbaPaymentInfo
fn clone(&self) -> AbaPaymentInfo
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 AbaPaymentInfo
impl Debug for AbaPaymentInfo
Source§impl Default for AbaPaymentInfo
impl Default for AbaPaymentInfo
Source§fn default() -> AbaPaymentInfo
fn default() -> AbaPaymentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AbaPaymentInfo
impl<'de> Deserialize<'de> for AbaPaymentInfo
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
Source§impl PartialEq for AbaPaymentInfo
impl PartialEq for AbaPaymentInfo
Source§impl Serialize for AbaPaymentInfo
impl Serialize for AbaPaymentInfo
impl StructuralPartialEq for AbaPaymentInfo
Auto Trait Implementations§
impl Freeze for AbaPaymentInfo
impl RefUnwindSafe for AbaPaymentInfo
impl Send for AbaPaymentInfo
impl Sync for AbaPaymentInfo
impl Unpin for AbaPaymentInfo
impl UnwindSafe for AbaPaymentInfo
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