pub struct SepaAddress {
pub account_holder: AccountHolderDetails,
pub iban: 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>,
}Fields§
§account_holder: AccountHolderDetails§iban: String§bic: Option<String>Bank Identifier Code (SWIFT/BIC)
bank_name: Option<String>§bank_branch: Option<String>§bank_address: Option<String>§purpose_code: Option<String>ISO purpose code for the transfer
tax_id: Option<String>Beneficiary tax identification number
Implementations§
Source§impl SepaAddress
impl SepaAddress
pub fn new(account_holder: AccountHolderDetails, iban: String) -> SepaAddress
Trait Implementations§
Source§impl Clone for SepaAddress
impl Clone for SepaAddress
Source§fn clone(&self) -> SepaAddress
fn clone(&self) -> SepaAddress
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 SepaAddress
impl Debug for SepaAddress
Source§impl Default for SepaAddress
impl Default for SepaAddress
Source§fn default() -> SepaAddress
fn default() -> SepaAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SepaAddress
impl<'de> Deserialize<'de> for SepaAddress
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 SepaAddress
impl PartialEq for SepaAddress
Source§impl Serialize for SepaAddress
impl Serialize for SepaAddress
impl StructuralPartialEq for SepaAddress
Auto Trait Implementations§
impl Freeze for SepaAddress
impl RefUnwindSafe for SepaAddress
impl Send for SepaAddress
impl Sync for SepaAddress
impl Unpin for SepaAddress
impl UnwindSafe for SepaAddress
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