pub struct SepaPaymentInfo {Show 14 fields
pub rail: Rail,
pub addressing_system: AddressingSystem,
pub account_holder_given_name: String,
pub account_holder_surname: String,
pub account_holder_country: Option<String>,
pub account_holder_address: Option<String>,
pub iban: String,
pub country: String,
pub bic: Option<String>,
pub bank_name: Option<String>,
pub bank_branch: Option<String>,
pub bank_address: Option<String>,
pub purpose_code: Option<String>,
pub tax_id: Option<String>,
}Expand description
SepaPaymentInfo : SEPA payment information for European Single Euro Payments Area transfers
Fields§
§rail: RailThe payment rail type for SEPA transfers
addressing_system: AddressingSystemThe addressing system used for SEPA transfers
account_holder_given_name: StringThe given name (first name) of the account holder
account_holder_surname: StringThe surname (last name) of the account holder
account_holder_country: Option<String>The country where the account holder resides (ISO 3166-1 alpha-2 code)
account_holder_address: Option<String>The address of the account holder
iban: StringThe International Bank Account Number (IBAN)
country: StringThe country for the transfer (ISO 3166-1 alpha-2 code)
bic: Option<String>The Bank Identifier Code (BIC/SWIFT code)
bank_name: Option<String>The name of the bank
bank_branch: Option<String>The bank branch information
bank_address: Option<String>The address of the bank
purpose_code: Option<String>The purpose code for the transfer
tax_id: Option<String>The tax identification number
Implementations§
Source§impl SepaPaymentInfo
impl SepaPaymentInfo
Sourcepub fn new(
rail: Rail,
addressing_system: AddressingSystem,
account_holder_given_name: String,
account_holder_surname: String,
iban: String,
country: String,
) -> SepaPaymentInfo
pub fn new( rail: Rail, addressing_system: AddressingSystem, account_holder_given_name: String, account_holder_surname: String, iban: String, country: String, ) -> SepaPaymentInfo
SEPA payment information for European Single Euro Payments Area transfers
Trait Implementations§
Source§impl Clone for SepaPaymentInfo
impl Clone for SepaPaymentInfo
Source§fn clone(&self) -> SepaPaymentInfo
fn clone(&self) -> SepaPaymentInfo
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 SepaPaymentInfo
impl Debug for SepaPaymentInfo
Source§impl Default for SepaPaymentInfo
impl Default for SepaPaymentInfo
Source§fn default() -> SepaPaymentInfo
fn default() -> SepaPaymentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SepaPaymentInfo
impl<'de> Deserialize<'de> for SepaPaymentInfo
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 SepaPaymentInfo
impl PartialEq for SepaPaymentInfo
Source§impl Serialize for SepaPaymentInfo
impl Serialize for SepaPaymentInfo
impl StructuralPartialEq for SepaPaymentInfo
Auto Trait Implementations§
impl Freeze for SepaPaymentInfo
impl RefUnwindSafe for SepaPaymentInfo
impl Send for SepaPaymentInfo
impl Sync for SepaPaymentInfo
impl Unpin for SepaPaymentInfo
impl UnwindSafe for SepaPaymentInfo
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