rsfi-traits 0.1.0

Traits and interfaces supporting the rsfi framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/*
    Appellation: interest <module>
    Created At: 2026.01.21:14:41:53
    Contrib: @FL03
*/

pub trait InterestPayment {
    type Output;

    /// Computes the interest payment for a given principal amount, rate, and time period.
    fn interest_payment(principal: Self, rate: Self, time: Self) -> Self::Output;
}