pub struct InvoiceItem {
pub category: String,
pub count: usize,
pub estimated_hours: f64,
pub estimated_cost: f64,
pub pain_description: String,
}Expand description
A single line item on the debt invoice.
Fields§
§category: String§count: usize§estimated_hours: f64§estimated_cost: f64§pain_description: StringTrait Implementations§
Source§impl Clone for InvoiceItem
impl Clone for InvoiceItem
Source§fn clone(&self) -> InvoiceItem
fn clone(&self) -> InvoiceItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InvoiceItem
impl RefUnwindSafe for InvoiceItem
impl Send for InvoiceItem
impl Sync for InvoiceItem
impl Unpin for InvoiceItem
impl UnsafeUnpin for InvoiceItem
impl UnwindSafe for InvoiceItem
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