pub struct PaymentCorrectionConfig {
pub rate: f64,
pub type_distribution: PaymentCorrectionTypeDistribution,
}Expand description
Payment correction configuration.
Fields§
§rate: f64Rate of payments requiring correction
type_distribution: PaymentCorrectionTypeDistributionDistribution of correction types
Trait Implementations§
Source§impl Clone for PaymentCorrectionConfig
impl Clone for PaymentCorrectionConfig
Source§fn clone(&self) -> PaymentCorrectionConfig
fn clone(&self) -> PaymentCorrectionConfig
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 PaymentCorrectionConfig
impl Debug for PaymentCorrectionConfig
Source§impl Default for PaymentCorrectionConfig
impl Default for PaymentCorrectionConfig
Source§impl<'de> Deserialize<'de> for PaymentCorrectionConfig
impl<'de> Deserialize<'de> for PaymentCorrectionConfig
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 PaymentCorrectionConfig
impl RefUnwindSafe for PaymentCorrectionConfig
impl Send for PaymentCorrectionConfig
impl Sync for PaymentCorrectionConfig
impl Unpin for PaymentCorrectionConfig
impl UnwindSafe for PaymentCorrectionConfig
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