pub struct BillCreateWithTransaction {
pub accounting_period_id: i64,
pub file_id: i64,
pub filename: Option<Option<String>>,
pub split_transaction_id: Value,
pub submitted_date: NaiveDate,
pub submitted_pid: i64,
pub transaction_id: i64,
pub transaction_suggestion_id: Value,
pub extra: Map<String, Value>,
}Fields§
§accounting_period_id: i64Accounting period shared by the linked booking or suggestion.
file_id: i64Existing uploaded file. A file in the unknown domain is reassigned to the bill; a file in another domain is copied before assignment.
filename: Option<Option<String>>Optional new display name for the attached file. Omission or null retains its name.
None leaves the field out, Some(None) sends null.
split_transaction_id: ValueMust be omitted or null when another booking link is selected.
submitted_date: NaiveDateDate the supporting document was submitted, independently of the booking date.
submitted_pid: i64Person who submitted the document. Must exist and be visible to the caller.
transaction_id: i64§transaction_suggestion_id: ValueMust be omitted or null when another booking link is selected.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for BillCreateWithTransaction
impl Clone for BillCreateWithTransaction
Source§impl Debug for BillCreateWithTransaction
impl Debug for BillCreateWithTransaction
Source§impl Default for BillCreateWithTransaction
impl Default for BillCreateWithTransaction
Source§impl<'de> Deserialize<'de> for BillCreateWithTransaction
impl<'de> Deserialize<'de> for BillCreateWithTransaction
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 BillCreateWithTransaction
Auto Trait Implementations§
impl Freeze for BillCreateWithTransaction
impl RefUnwindSafe for BillCreateWithTransaction
impl Send for BillCreateWithTransaction
impl Sync for BillCreateWithTransaction
impl Unpin for BillCreateWithTransaction
impl UnsafeUnpin for BillCreateWithTransaction
impl UnwindSafe for BillCreateWithTransaction
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