pub struct CustomerStatement {Show 14 fields
pub customer_id: Uuid,
pub customer_name: String,
pub customer_email: Option<String>,
pub billing_address: Option<String>,
pub statement_date: DateTime<Utc>,
pub period_start: DateTime<Utc>,
pub period_end: DateTime<Utc>,
pub opening_balance: Decimal,
pub total_invoices: Decimal,
pub total_payments: Decimal,
pub total_credits: Decimal,
pub closing_balance: Decimal,
pub aging: CustomerArAging,
pub line_items: Vec<StatementLineItem>,
}Expand description
Customer statement
Fields§
§customer_id: Uuid§customer_name: String§customer_email: Option<String>§billing_address: Option<String>§statement_date: DateTime<Utc>§period_start: DateTime<Utc>§period_end: DateTime<Utc>§opening_balance: Decimal§total_invoices: Decimal§total_payments: Decimal§total_credits: Decimal§closing_balance: Decimal§aging: CustomerArAging§line_items: Vec<StatementLineItem>Trait Implementations§
Source§impl Clone for CustomerStatement
impl Clone for CustomerStatement
Source§fn clone(&self) -> CustomerStatement
fn clone(&self) -> CustomerStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomerStatement
impl Debug for CustomerStatement
Source§impl<'de> Deserialize<'de> for CustomerStatement
impl<'de> Deserialize<'de> for CustomerStatement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomerStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomerStatement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CustomerStatement
impl Serialize for CustomerStatement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CustomerStatement
impl RefUnwindSafe for CustomerStatement
impl Send for CustomerStatement
impl Sync for CustomerStatement
impl Unpin for CustomerStatement
impl UnsafeUnpin for CustomerStatement
impl UnwindSafe for CustomerStatement
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