#[non_exhaustive]pub struct Account {
pub iban: Option<String>,
pub number: Option<String>,
pub bic: Option<String>,
pub bank_code: Option<String>,
pub currency: Option<String>,
pub name: Option<String>,
pub display_name: Option<String>,
pub owner_name: Option<String>,
pub product_name: Option<String>,
pub status: Option<AccountStatus>,
pub type_: Option<AccountType>,
pub capabilities: Option<Vec<Capability>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.iban: Option<String>
ISO 20022 IBAN2007Identifier.
number: Option<String>
Account number that is not an IBAN, e.g. ISO 20022 BBANIdentifier or primary account number (PAN) of a card account.
bic: Option<String>
ISO 20022 BICFIIdentifier.
bank_code: Option<String>
National bank code.
currency: Option<String>
ISO 4217 Alpha 3 currency code.
name: Option<String>
Name of account, assigned by ASPSP.
display_name: Option<String>
Display name of account, assigned by PSU.
owner_name: Option<String>
Legal account owner.
product_name: Option<String>
Product name.
status: Option<AccountStatus>
Account Status.
type_: Option<AccountType>
§capabilities: Option<Vec<Capability>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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
impl Eq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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