pub struct Installment {
pub id: String,
pub installment_number: u8,
pub amount: f64,
pub due_date: String,
pub paid_at: Option<String>,
pub status: InstallmentStatus,
}Fields§
§id: String§installment_number: u8§amount: f64§due_date: String§paid_at: Option<String>§status: InstallmentStatusTrait Implementations§
Source§impl Clone for Installment
impl Clone for Installment
Source§fn clone(&self) -> Installment
fn clone(&self) -> Installment
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 Installment
impl Debug for Installment
Source§impl<'de> Deserialize<'de> for Installment
impl<'de> Deserialize<'de> for Installment
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 Installment
impl RefUnwindSafe for Installment
impl Send for Installment
impl Sync for Installment
impl Unpin for Installment
impl UnwindSafe for Installment
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