pub struct InterestDetails {
pub rate: Decimal,
pub interest_type: String,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
Interest rate information for a loan.
Fields§
§rate: DecimalThe rate of interest.
interest_type: StringThe type of interest rate (E.g. FIXED).
expires_at: Option<DateTime<Utc>>When this interest rate expires, if available.
Trait Implementations§
Source§impl Clone for InterestDetails
impl Clone for InterestDetails
Source§fn clone(&self) -> InterestDetails
fn clone(&self) -> InterestDetails
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 InterestDetails
impl Debug for InterestDetails
Source§impl<'de> Deserialize<'de> for InterestDetails
impl<'de> Deserialize<'de> for InterestDetails
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 InterestDetails
impl PartialEq for InterestDetails
Source§impl Serialize for InterestDetails
impl Serialize for InterestDetails
impl Eq for InterestDetails
impl StructuralPartialEq for InterestDetails
Auto Trait Implementations§
impl Freeze for InterestDetails
impl RefUnwindSafe for InterestDetails
impl Send for InterestDetails
impl Sync for InterestDetails
impl Unpin for InterestDetails
impl UnwindSafe for InterestDetails
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