pub struct GLReference {
pub journal_entry_id: String,
pub posting_date: NaiveDate,
pub gl_account: String,
pub amount: Decimal,
pub debit_credit: DebitCredit,
}Expand description
Reference to GL posting.
Fields§
§journal_entry_id: StringJournal entry ID.
posting_date: NaiveDatePosting date in GL.
gl_account: StringGL account code.
amount: DecimalAmount posted to GL.
debit_credit: DebitCreditDebit or credit indicator.
Trait Implementations§
Source§impl Clone for GLReference
impl Clone for GLReference
Source§fn clone(&self) -> GLReference
fn clone(&self) -> GLReference
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 GLReference
impl Debug for GLReference
Source§impl<'de> Deserialize<'de> for GLReference
impl<'de> Deserialize<'de> for GLReference
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 GLReference
impl RefUnwindSafe for GLReference
impl Send for GLReference
impl Sync for GLReference
impl Unpin for GLReference
impl UnwindSafe for GLReference
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