pub struct AccountGroup {
pub account_class_id: i64,
pub is_cash_asset_account: bool,
pub name: String,
pub sort_key: Option<i64>,
pub id: i64,
pub meta: MetaDataEntityId,
pub extra: Map<String, Value>,
}Expand description
Account groups collect individual ledger accounts within one account class. isCashAssetAccount identifies groups of cash or bank accounts.
Fields§
§account_class_id: i64Existing parent account class, obtainable from /finance/accountclasses.
is_cash_asset_account: boolWhether accounts in this group represent cash or bank assets.
name: StringUnique account-group name, trimmed before storage. Supply a nonblank name.
sort_key: Option<i64>Ascending display order. Omission resets it to 0, including on update.
id: i64§meta: MetaDataEntityId§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AccountGroup
impl Clone for AccountGroup
Source§impl Debug for AccountGroup
impl Debug for AccountGroup
Source§impl Default for AccountGroup
impl Default for AccountGroup
Source§impl<'de> Deserialize<'de> for AccountGroup
impl<'de> Deserialize<'de> for AccountGroup
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 AccountGroup
impl PartialEq for AccountGroup
Source§impl Serialize for AccountGroup
impl Serialize for AccountGroup
impl StructuralPartialEq for AccountGroup
Auto Trait Implementations§
impl Freeze for AccountGroup
impl RefUnwindSafe for AccountGroup
impl Send for AccountGroup
impl Sync for AccountGroup
impl Unpin for AccountGroup
impl UnsafeUnpin for AccountGroup
impl UnwindSafe for AccountGroup
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