pub struct BillCreateWithSuggestion {
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: Value,
pub transaction_suggestion_id: i64,
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: ValueMust be omitted or null when another booking link is selected.
transaction_suggestion_id: i64§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for BillCreateWithSuggestion
impl Clone for BillCreateWithSuggestion
Source§impl Debug for BillCreateWithSuggestion
impl Debug for BillCreateWithSuggestion
Source§impl Default for BillCreateWithSuggestion
impl Default for BillCreateWithSuggestion
Source§impl<'de> Deserialize<'de> for BillCreateWithSuggestion
impl<'de> Deserialize<'de> for BillCreateWithSuggestion
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 BillCreateWithSuggestion
impl PartialEq for BillCreateWithSuggestion
Source§impl Serialize for BillCreateWithSuggestion
impl Serialize for BillCreateWithSuggestion
impl StructuralPartialEq for BillCreateWithSuggestion
Auto Trait Implementations§
impl Freeze for BillCreateWithSuggestion
impl RefUnwindSafe for BillCreateWithSuggestion
impl Send for BillCreateWithSuggestion
impl Sync for BillCreateWithSuggestion
impl Unpin for BillCreateWithSuggestion
impl UnsafeUnpin for BillCreateWithSuggestion
impl UnwindSafe for BillCreateWithSuggestion
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