pub struct CustomerARSummary {
pub customer_id: String,
pub customer_name: String,
pub total_open: Decimal,
pub total_overdue: Decimal,
pub open_invoice_count: u32,
pub overdue_invoice_count: u32,
pub oldest_open_date: Option<NaiveDate>,
pub credit_limit: Option<Decimal>,
pub credit_utilization: Option<Decimal>,
pub payment_score: Option<Decimal>,
}Expand description
Summary of open AR items for a customer.
Fields§
§customer_id: StringCustomer ID.
customer_name: StringCustomer name.
total_open: DecimalTotal open amount.
total_overdue: DecimalTotal overdue amount.
open_invoice_count: u32Number of open invoices.
overdue_invoice_count: u32Number of overdue invoices.
oldest_open_date: Option<NaiveDate>Oldest open invoice date.
credit_limit: Option<Decimal>Credit limit.
credit_utilization: Option<Decimal>Credit utilization percentage.
payment_score: Option<Decimal>Payment behavior score.
Implementations§
Trait Implementations§
Source§impl Clone for CustomerARSummary
impl Clone for CustomerARSummary
Source§fn clone(&self) -> CustomerARSummary
fn clone(&self) -> CustomerARSummary
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 CustomerARSummary
impl Debug for CustomerARSummary
Source§impl<'de> Deserialize<'de> for CustomerARSummary
impl<'de> Deserialize<'de> for CustomerARSummary
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 CustomerARSummary
impl RefUnwindSafe for CustomerARSummary
impl Send for CustomerARSummary
impl Sync for CustomerARSummary
impl Unpin for CustomerARSummary
impl UnsafeUnpin for CustomerARSummary
impl UnwindSafe for CustomerARSummary
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