pub struct JournalLine {
pub account_code: String,
pub debit_cents: i64,
pub credit_cents: i64,
pub tax_code: Option<String>,
pub dimension_project_id: Option<String>,
}Expand description
A single double-entry journal line denominated in integer minor units (cents).
Fields§
§account_code: String§debit_cents: i64§credit_cents: i64§tax_code: Option<String>§dimension_project_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for JournalLine
impl Clone for JournalLine
Source§impl Debug for JournalLine
impl Debug for JournalLine
Source§impl<'de> Deserialize<'de> for JournalLine
impl<'de> Deserialize<'de> for JournalLine
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
impl Eq for JournalLine
Source§impl PartialEq for JournalLine
impl PartialEq for JournalLine
Source§impl Serialize for JournalLine
impl Serialize for JournalLine
impl StructuralPartialEq for JournalLine
Auto Trait Implementations§
impl Freeze for JournalLine
impl RefUnwindSafe for JournalLine
impl Send for JournalLine
impl Sync for JournalLine
impl Unpin for JournalLine
impl UnsafeUnpin for JournalLine
impl UnwindSafe for JournalLine
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