pub struct MoneyTransactionCreateInput {
pub business_id: String,
pub external_id: String,
pub date: NaiveDate,
pub description: String,
pub notes: Option<String>,
pub anchor: MoneyTransactionAnchorInput,
pub line_items: Vec<MoneyTransactionLineItemInput>,
}Expand description
Input for creating a single money transaction.
Fields§
§business_id: String§external_id: String§date: NaiveDate§description: String§notes: Option<String>§anchor: MoneyTransactionAnchorInput§line_items: Vec<MoneyTransactionLineItemInput>Implementations§
Trait Implementations§
Source§impl Clone for MoneyTransactionCreateInput
impl Clone for MoneyTransactionCreateInput
Source§fn clone(&self) -> MoneyTransactionCreateInput
fn clone(&self) -> MoneyTransactionCreateInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoneyTransactionCreateInput
impl Debug for MoneyTransactionCreateInput
Auto Trait Implementations§
impl Freeze for MoneyTransactionCreateInput
impl RefUnwindSafe for MoneyTransactionCreateInput
impl Send for MoneyTransactionCreateInput
impl Sync for MoneyTransactionCreateInput
impl Unpin for MoneyTransactionCreateInput
impl UnsafeUnpin for MoneyTransactionCreateInput
impl UnwindSafe for MoneyTransactionCreateInput
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