pub struct Account {
pub account_id: String,
pub name: String,
pub nickname: Option<String>,
pub balance: Option<f64>,
pub currency: String,
pub identifier_scheme: String,
pub identifier: String,
pub servicer_scheme: String,
pub servicer_identifier: String,
}
Expand description
Describes a single Account in response.
Fields§
§account_id: String
A surrogate identifier for the bank account.
name: String
Account name. This is a name assigned by the servicer and bears no significance to the user.
nickname: Option<String>
Nickname of the account, if assigned by the owner of the account.
balance: Option<f64>
Current balance of the account. Note: This field will only be returned after the end user has provided consent to the consuming application.
currency: String
Code of the currency of the account. All currency codes are ISO 4217-compliant strings.
identifier_scheme: String
“IBAN”.
identifier: String
Account identifier. Follows the scheme described by the field identifierScheme.
servicer_scheme: String
Identifier of the scheme used for identifying the servicer.
servicer_identifier: String
Identifier of the servicing bank. Follows the scheme described by the servicerScheme parameter.
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
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