pub struct PaymentBehaviorDistribution {
pub early_payer: f64,
pub on_time: f64,
pub occasional_late: f64,
pub frequent_late: f64,
pub discount_taker: f64,
}Expand description
Payment behavior distribution for customers.
Fields§
§early_payer: f64Always pays early
on_time: f64Pays on time
occasional_late: f64Occasionally late
frequent_late: f64Frequently late
discount_taker: f64Takes early payment discounts
Trait Implementations§
Source§impl Clone for PaymentBehaviorDistribution
impl Clone for PaymentBehaviorDistribution
Source§fn clone(&self) -> PaymentBehaviorDistribution
fn clone(&self) -> PaymentBehaviorDistribution
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 PaymentBehaviorDistribution
impl Debug for PaymentBehaviorDistribution
Source§impl<'de> Deserialize<'de> for PaymentBehaviorDistribution
impl<'de> Deserialize<'de> for PaymentBehaviorDistribution
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 PaymentBehaviorDistribution
impl RefUnwindSafe for PaymentBehaviorDistribution
impl Send for PaymentBehaviorDistribution
impl Sync for PaymentBehaviorDistribution
impl Unpin for PaymentBehaviorDistribution
impl UnwindSafe for PaymentBehaviorDistribution
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