pub struct Invoice {
pub items: Vec<InvoiceItem>,
pub total_hours: f64,
pub total_cost: f64,
pub project_lifespan_months: u32,
pub weekly_interest_rate: f64,
}Expand description
The full debt invoice.
Fields§
§items: Vec<InvoiceItem>§total_hours: f64§total_cost: f64§project_lifespan_months: u32§weekly_interest_rate: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Invoice
impl RefUnwindSafe for Invoice
impl Send for Invoice
impl Sync for Invoice
impl Unpin for Invoice
impl UnsafeUnpin for Invoice
impl UnwindSafe for Invoice
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