pub struct AccountImportTemplateCreate {
pub client_id: Option<Option<i64>>,
pub template_id: Option<Option<i64>>,
pub with_clients: Option<bool>,
pub year: Option<Option<i64>>,
pub extra: Map<String, Value>,
}Expand description
Selection for an XLSX account-import workbook. All fields are optional.
Fields§
§client_id: Option<Option<i64>>Filter existing accounts by client. Ignored when templateId is supplied.
None leaves the field out, Some(None) sends null.
template_id: Option<Option<i64>>Finance-template file ID. Takes precedence over year and clientId; account rows are read from the template.
None leaves the field out, Some(None) sends null.
with_clients: Option<bool>Prepend client and booking-year columns. With templateId, these cells are left blank.
year: Option<Option<i64>>Calendar year of the accounting-period start date. Without year or templateId, the workbook contains headings and instructions but no accounts.
None leaves the field out, Some(None) sends null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for AccountImportTemplateCreate
impl Clone for AccountImportTemplateCreate
Source§impl Debug for AccountImportTemplateCreate
impl Debug for AccountImportTemplateCreate
Source§impl<'de> Deserialize<'de> for AccountImportTemplateCreate
impl<'de> Deserialize<'de> for AccountImportTemplateCreate
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 StructuralPartialEq for AccountImportTemplateCreate
Auto Trait Implementations§
impl Freeze for AccountImportTemplateCreate
impl RefUnwindSafe for AccountImportTemplateCreate
impl Send for AccountImportTemplateCreate
impl Sync for AccountImportTemplateCreate
impl Unpin for AccountImportTemplateCreate
impl UnsafeUnpin for AccountImportTemplateCreate
impl UnwindSafe for AccountImportTemplateCreate
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