pub struct LineItemSpec {
pub total_count: usize,
pub debit_count: usize,
pub credit_count: usize,
pub split_type: DebitCreditSplit,
}Expand description
Specification for line items in a journal entry.
Fields§
§total_count: usizeTotal number of line items
debit_count: usizeNumber of debit lines
credit_count: usizeNumber of credit lines
split_type: DebitCreditSplitType of debit/credit split
Implementations§
Trait Implementations§
Source§impl Clone for LineItemSpec
impl Clone for LineItemSpec
Source§fn clone(&self) -> LineItemSpec
fn clone(&self) -> LineItemSpec
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 moreAuto Trait Implementations§
impl Freeze for LineItemSpec
impl RefUnwindSafe for LineItemSpec
impl Send for LineItemSpec
impl Sync for LineItemSpec
impl Unpin for LineItemSpec
impl UnwindSafe for LineItemSpec
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