pub struct AccountGroupCreate {
pub account_class_id: i64,
pub is_cash_asset_account: bool,
pub name: String,
pub sort_key: Option<i64>,
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.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AccountGroupCreate
impl Clone for AccountGroupCreate
Source§impl Debug for AccountGroupCreate
impl Debug for AccountGroupCreate
Source§impl Default for AccountGroupCreate
impl Default for AccountGroupCreate
Source§impl<'de> Deserialize<'de> for AccountGroupCreate
impl<'de> Deserialize<'de> for AccountGroupCreate
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 AccountGroupCreate
impl PartialEq for AccountGroupCreate
Source§impl Serialize for AccountGroupCreate
impl Serialize for AccountGroupCreate
impl StructuralPartialEq for AccountGroupCreate
Auto Trait Implementations§
impl Freeze for AccountGroupCreate
impl RefUnwindSafe for AccountGroupCreate
impl Send for AccountGroupCreate
impl Sync for AccountGroupCreate
impl Unpin for AccountGroupCreate
impl UnsafeUnpin for AccountGroupCreate
impl UnwindSafe for AccountGroupCreate
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