pub struct AccountStatementReportCreate {
pub end_date: Option<Option<NaiveDate>>,
pub format: Option<String>,
pub start_date: Option<Option<NaiveDate>>,
pub extra: Map<String, Value>,
}Expand description
Optional account-report options. A missing body selects the entire accounting period as a PDF.
Fields§
§end_date: Option<Option<NaiveDate>>Last document date to include. Omission or null defaults to the corresponding accounting-period boundary. The final endDate must be on or after startDate.
None leaves the field out, Some(None) sends null.
format: Option<String>PDF creates a file and returns its URL with HTTP 201. CSV/XLSX return the file directly with HTTP 200. Accept: text/html overrides this selection.
Allowed values: csv, pdf, xlsx.
start_date: Option<Option<NaiveDate>>First document date to include. Omission or null defaults to the corresponding accounting-period boundary. The final endDate must be on or after startDate.
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 AccountStatementReportCreate
impl Clone for AccountStatementReportCreate
Source§impl Debug for AccountStatementReportCreate
impl Debug for AccountStatementReportCreate
Source§impl<'de> Deserialize<'de> for AccountStatementReportCreate
impl<'de> Deserialize<'de> for AccountStatementReportCreate
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 AccountStatementReportCreate
Auto Trait Implementations§
impl Freeze for AccountStatementReportCreate
impl RefUnwindSafe for AccountStatementReportCreate
impl Send for AccountStatementReportCreate
impl Sync for AccountStatementReportCreate
impl Unpin for AccountStatementReportCreate
impl UnsafeUnpin for AccountStatementReportCreate
impl UnwindSafe for AccountStatementReportCreate
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