pub struct PartnerLedgerLine {
pub line_id: Uuid,
pub journal_number: String,
pub transaction_date: NaiveDate,
pub account_number: String,
pub account_name: String,
pub description: Option<String>,
pub debit: Decimal,
pub credit: Decimal,
pub currency: String,
pub residual: Decimal,
}Expand description
One AR/AP line of a partner ledger.
Fields§
§line_id: Uuid§journal_number: String§transaction_date: NaiveDate§account_number: String§account_name: String§description: Option<String>§debit: Decimal§credit: Decimal§currency: String§residual: DecimalTrait Implementations§
Source§impl Clone for PartnerLedgerLine
impl Clone for PartnerLedgerLine
Source§impl Debug for PartnerLedgerLine
impl Debug for PartnerLedgerLine
Auto Trait Implementations§
impl Freeze for PartnerLedgerLine
impl RefUnwindSafe for PartnerLedgerLine
impl Send for PartnerLedgerLine
impl Sync for PartnerLedgerLine
impl Unpin for PartnerLedgerLine
impl UnsafeUnpin for PartnerLedgerLine
impl UnwindSafe for PartnerLedgerLine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more