pub struct SpeiAdvancedPaymentInfo {
pub rail: Rail,
pub addressing_system: AddressingSystem,
pub account_holder_given_name: String,
pub account_holder_surname: String,
pub country: String,
pub bank_name: Option<String>,
pub beneficiary_rfc: Option<String>,
pub sender_document_id: Option<String>,
pub clabe: String,
}Expand description
SpeiAdvancedPaymentInfo : Advanced SPEI payment information for Mexican bank transfers with full details
Fields§
§rail: RailThe payment rail type for SPEI transfers
addressing_system: AddressingSystemThe addressing system used for SPEI 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
country: StringThe country for the transfer (ISO 3166-1 alpha-2 code)
bank_name: Option<String>The name of the bank
beneficiary_rfc: Option<String>The RFC (Registro Federal de Contribuyentes) of the beneficiary
sender_document_id: Option<String>The document ID of the sender
clabe: StringThe CLABE (Clave Bancaria Estandarizada) number
Implementations§
Source§impl SpeiAdvancedPaymentInfo
impl SpeiAdvancedPaymentInfo
Sourcepub fn new(
rail: Rail,
addressing_system: AddressingSystem,
account_holder_given_name: String,
account_holder_surname: String,
country: String,
clabe: String,
) -> SpeiAdvancedPaymentInfo
pub fn new( rail: Rail, addressing_system: AddressingSystem, account_holder_given_name: String, account_holder_surname: String, country: String, clabe: String, ) -> SpeiAdvancedPaymentInfo
Advanced SPEI payment information for Mexican bank transfers with full details
Trait Implementations§
Source§impl Clone for SpeiAdvancedPaymentInfo
impl Clone for SpeiAdvancedPaymentInfo
Source§fn clone(&self) -> SpeiAdvancedPaymentInfo
fn clone(&self) -> SpeiAdvancedPaymentInfo
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 SpeiAdvancedPaymentInfo
impl Debug for SpeiAdvancedPaymentInfo
Source§impl Default for SpeiAdvancedPaymentInfo
impl Default for SpeiAdvancedPaymentInfo
Source§fn default() -> SpeiAdvancedPaymentInfo
fn default() -> SpeiAdvancedPaymentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpeiAdvancedPaymentInfo
impl<'de> Deserialize<'de> for SpeiAdvancedPaymentInfo
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 SpeiAdvancedPaymentInfo
impl PartialEq for SpeiAdvancedPaymentInfo
Source§impl Serialize for SpeiAdvancedPaymentInfo
impl Serialize for SpeiAdvancedPaymentInfo
impl StructuralPartialEq for SpeiAdvancedPaymentInfo
Auto Trait Implementations§
impl Freeze for SpeiAdvancedPaymentInfo
impl RefUnwindSafe for SpeiAdvancedPaymentInfo
impl Send for SpeiAdvancedPaymentInfo
impl Sync for SpeiAdvancedPaymentInfo
impl Unpin for SpeiAdvancedPaymentInfo
impl UnwindSafe for SpeiAdvancedPaymentInfo
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