pub struct BillCreateWithSplit {
pub accounting_period_id: i64,
pub file_id: i64,
pub filename: Option<Option<String>>,
pub split_transaction_id: i64,
pub submitted_date: NaiveDate,
pub submitted_pid: i64,
pub transaction_id: Value,
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: i64§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: ValueMust be omitted or null when another booking link is selected.
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 BillCreateWithSplit
impl Clone for BillCreateWithSplit
Source§impl Debug for BillCreateWithSplit
impl Debug for BillCreateWithSplit
Source§impl Default for BillCreateWithSplit
impl Default for BillCreateWithSplit
Source§impl<'de> Deserialize<'de> for BillCreateWithSplit
impl<'de> Deserialize<'de> for BillCreateWithSplit
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 BillCreateWithSplit
impl PartialEq for BillCreateWithSplit
Source§impl Serialize for BillCreateWithSplit
impl Serialize for BillCreateWithSplit
impl StructuralPartialEq for BillCreateWithSplit
Auto Trait Implementations§
impl Freeze for BillCreateWithSplit
impl RefUnwindSafe for BillCreateWithSplit
impl Send for BillCreateWithSplit
impl Sync for BillCreateWithSplit
impl Unpin for BillCreateWithSplit
impl UnsafeUnpin for BillCreateWithSplit
impl UnwindSafe for BillCreateWithSplit
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