pub struct Account {
pub id: String,
pub name: String,
pub description: Option<String>,
pub display_id: Option<String>,
pub currency: Currency,
pub account_type: AccountType,
pub subtype: AccountSubtype,
pub normal_balance_type: AccountNormalBalanceType,
pub is_archived: bool,
pub sequence: i64,
pub balance: Option<Decimal>,
pub balance_in_business_currency: Option<Decimal>,
}Expand description
An account from the Chart of Accounts.
Fields§
§id: String§name: String§description: Option<String>§display_id: Option<String>§currency: Currency§account_type: AccountType§subtype: AccountSubtype§normal_balance_type: AccountNormalBalanceType§is_archived: bool§sequence: i64§balance: Option<Decimal>§balance_in_business_currency: Option<Decimal>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 UnsafeUnpin 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