pub struct EliminationLine {
pub line_number: u32,
pub company: String,
pub account: String,
pub is_debit: bool,
pub amount: Decimal,
pub currency: String,
pub description: String,
}Expand description
A single line in an elimination entry.
Fields§
§line_number: u32Line number.
company: StringCompany code this line affects.
account: StringAccount code.
is_debit: boolIs this a debit (true) or credit (false)?
amount: DecimalAmount.
currency: StringCurrency.
description: StringLine description.
Trait Implementations§
Source§impl Clone for EliminationLine
impl Clone for EliminationLine
Source§fn clone(&self) -> EliminationLine
fn clone(&self) -> EliminationLine
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 EliminationLine
impl Debug for EliminationLine
Source§impl<'de> Deserialize<'de> for EliminationLine
impl<'de> Deserialize<'de> for EliminationLine
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
Auto Trait Implementations§
impl Freeze for EliminationLine
impl RefUnwindSafe for EliminationLine
impl Send for EliminationLine
impl Sync for EliminationLine
impl Unpin for EliminationLine
impl UnwindSafe for EliminationLine
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