pub struct Account {
pub id: AccountId,
pub name: String,
pub balance: Option<String>,
pub currency: Option<Currency>,
pub classification: Option<String>,
pub account_type: String,
}Expand description
Account information
Fields§
§id: AccountIdUnique identifier
name: StringAccount name
balance: Option<String>Formatted balance (e.g. “$1,234.56”)
currency: Option<Currency>Currency code (e.g. “USD”)
classification: Option<String>Account classification (e.g. “asset”, “liability”)
account_type: StringAccountable type (e.g. “depository”, “investment”, “credit_card”)
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