pub struct Invoice<'i> {
pub amount: f64,
pub account_reference: &'i str,
pub billed_full_name: &'i str,
pub billed_period: &'i str,
pub billed_phone_number: &'i str,
pub due_date: DateTime<Utc>,
pub external_reference: &'i str,
pub invoice_items: Option<Vec<InvoiceItem<'i>>>,
pub invoice_name: &'i str,
}Fields§
§amount: f64§account_reference: &'i str§billed_full_name: &'i str§billed_period: &'i str§billed_phone_number: &'i str§due_date: DateTime<Utc>§external_reference: &'i str§invoice_items: Option<Vec<InvoiceItem<'i>>>§invoice_name: &'i strTrait Implementations§
Auto Trait Implementations§
impl<'i> RefUnwindSafe for Invoice<'i>
impl<'i> Send for Invoice<'i>
impl<'i> Sync for Invoice<'i>
impl<'i> Unpin for Invoice<'i>
impl<'i> UnwindSafe for Invoice<'i>
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