pub struct RepaymentDetails {
pub frequency: String,
pub next_date: Option<DateTime<Utc>>,
pub next_amount: Decimal,
}Expand description
Loan repayment information.
Fields§
§frequency: StringThe frequency of the loan repayment (E.g. MONTHLY).
next_date: Option<DateTime<Utc>>The next repayment date, if available.
next_amount: DecimalThe next instalment amount.
Trait Implementations§
Source§impl Clone for RepaymentDetails
impl Clone for RepaymentDetails
Source§fn clone(&self) -> RepaymentDetails
fn clone(&self) -> RepaymentDetails
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 RepaymentDetails
impl Debug for RepaymentDetails
Source§impl<'de> Deserialize<'de> for RepaymentDetails
impl<'de> Deserialize<'de> for RepaymentDetails
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
Source§impl PartialEq for RepaymentDetails
impl PartialEq for RepaymentDetails
Source§impl Serialize for RepaymentDetails
impl Serialize for RepaymentDetails
impl Eq for RepaymentDetails
impl StructuralPartialEq for RepaymentDetails
Auto Trait Implementations§
impl Freeze for RepaymentDetails
impl RefUnwindSafe for RepaymentDetails
impl Send for RepaymentDetails
impl Sync for RepaymentDetails
impl Unpin for RepaymentDetails
impl UnwindSafe for RepaymentDetails
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