pub struct ProvisionMatrixRow {
pub bucket: AgingBucket,
pub historical_loss_rate: Decimal,
pub forward_looking_adjustment: Decimal,
pub applied_loss_rate: Decimal,
pub exposure: Decimal,
pub provision: Decimal,
}Expand description
One row of the provision matrix, corresponding to an AR aging bucket.
Fields§
§bucket: AgingBucketAging bucket this row covers.
historical_loss_rate: DecimalHistorical loss rate for this bucket (e.g. 0.005 = 0.5%).
forward_looking_adjustment: DecimalForward-looking adjustment multiplier (scenario-weighted).
applied_loss_rate: DecimalApplied loss rate = historical_loss_rate × forward_looking_adjustment.
exposure: DecimalGross exposure in this bucket.
provision: DecimalProvision = exposure × applied_loss_rate.
Trait Implementations§
Source§impl Clone for ProvisionMatrixRow
impl Clone for ProvisionMatrixRow
Source§fn clone(&self) -> ProvisionMatrixRow
fn clone(&self) -> ProvisionMatrixRow
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 ProvisionMatrixRow
impl Debug for ProvisionMatrixRow
Source§impl<'de> Deserialize<'de> for ProvisionMatrixRow
impl<'de> Deserialize<'de> for ProvisionMatrixRow
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 ProvisionMatrixRow
impl RefUnwindSafe for ProvisionMatrixRow
impl Send for ProvisionMatrixRow
impl Sync for ProvisionMatrixRow
impl Unpin for ProvisionMatrixRow
impl UnsafeUnpin for ProvisionMatrixRow
impl UnwindSafe for ProvisionMatrixRow
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