pub struct BillingInvoiceItemModel {
pub description: Option<String>,
pub product: Option<String>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub units: Option<f32>,
pub unit_type: Option<String>,
pub unit_price: Option<f32>,
pub total: Option<f32>,
}
Fields§
§description: Option<String>
Invoice item description
product: Option<String>
Product name
start_date: Option<String>
Start date of item
end_date: Option<String>
End date of item
units: Option<f32>
Number of units item consumed in billing period
unit_type: Option<String>
Unit type. Options include "hours", "overage", and "discount"
unit_price: Option<f32>
Price per unit in dollars
total: Option<f32>
Total amount due in dollars
Trait Implementations§
Source§impl Clone for BillingInvoiceItemModel
impl Clone for BillingInvoiceItemModel
Source§fn clone(&self) -> BillingInvoiceItemModel
fn clone(&self) -> BillingInvoiceItemModel
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 BillingInvoiceItemModel
impl Debug for BillingInvoiceItemModel
Source§impl Default for BillingInvoiceItemModel
impl Default for BillingInvoiceItemModel
Source§fn default() -> BillingInvoiceItemModel
fn default() -> BillingInvoiceItemModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingInvoiceItemModel
impl<'de> Deserialize<'de> for BillingInvoiceItemModel
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 BillingInvoiceItemModel
impl PartialEq for BillingInvoiceItemModel
Source§impl Serialize for BillingInvoiceItemModel
impl Serialize for BillingInvoiceItemModel
impl StructuralPartialEq for BillingInvoiceItemModel
Auto Trait Implementations§
impl Freeze for BillingInvoiceItemModel
impl RefUnwindSafe for BillingInvoiceItemModel
impl Send for BillingInvoiceItemModel
impl Sync for BillingInvoiceItemModel
impl Unpin for BillingInvoiceItemModel
impl UnwindSafe for BillingInvoiceItemModel
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