pub struct PartialPaymentConfig {
pub rate: f64,
pub percentage_distribution: PartialPaymentPercentageDistribution,
pub avg_days_until_remainder: u32,
}Expand description
Partial payment configuration.
Fields§
§rate: f64Rate of invoices paid partially
percentage_distribution: PartialPaymentPercentageDistributionDistribution of partial payment percentages
avg_days_until_remainder: u32Average days until remainder is paid
Trait Implementations§
Source§impl Clone for PartialPaymentConfig
impl Clone for PartialPaymentConfig
Source§fn clone(&self) -> PartialPaymentConfig
fn clone(&self) -> PartialPaymentConfig
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 PartialPaymentConfig
impl Debug for PartialPaymentConfig
Source§impl Default for PartialPaymentConfig
impl Default for PartialPaymentConfig
Source§impl<'de> Deserialize<'de> for PartialPaymentConfig
impl<'de> Deserialize<'de> for PartialPaymentConfig
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 PartialPaymentConfig
impl RefUnwindSafe for PartialPaymentConfig
impl Send for PartialPaymentConfig
impl Sync for PartialPaymentConfig
impl Unpin for PartialPaymentConfig
impl UnwindSafe for PartialPaymentConfig
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