pub struct ShortPaymentConfig {
pub rate: f64,
pub reason_distribution: ShortPaymentReasonDistribution,
pub max_short_percent: f64,
}Expand description
Short payment configuration (unauthorized deductions).
Fields§
§rate: f64Rate of payments that are short
reason_distribution: ShortPaymentReasonDistributionDistribution of short payment reasons
max_short_percent: f64Maximum percentage that can be short
Trait Implementations§
Source§impl Clone for ShortPaymentConfig
impl Clone for ShortPaymentConfig
Source§fn clone(&self) -> ShortPaymentConfig
fn clone(&self) -> ShortPaymentConfig
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 ShortPaymentConfig
impl Debug for ShortPaymentConfig
Source§impl Default for ShortPaymentConfig
impl Default for ShortPaymentConfig
Source§impl<'de> Deserialize<'de> for ShortPaymentConfig
impl<'de> Deserialize<'de> for ShortPaymentConfig
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 ShortPaymentConfig
impl RefUnwindSafe for ShortPaymentConfig
impl Send for ShortPaymentConfig
impl Sync for ShortPaymentConfig
impl Unpin for ShortPaymentConfig
impl UnwindSafe for ShortPaymentConfig
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