pub struct BillingInvoiceLine {
pub amount: i64,
pub description: String,
pub id: String,
pub invoice_item: Option<String>,
pub line_item_type: LineItemType,
pub metadata: HashMap<String, String>,
pub price: Option<Box<BillingPrice>>,
pub quantity: i64,
pub subscription: Option<String>,
pub subscription_item: Option<String>,
}Fields§
§amount: i64§description: String§id: String§invoice_item: Option<String>§line_item_type: LineItemType§metadata: HashMap<String, String>§price: Option<Box<BillingPrice>>§quantity: i64§subscription: Option<String>§subscription_item: Option<String>Implementations§
Trait Implementations§
source§impl Clone for BillingInvoiceLine
impl Clone for BillingInvoiceLine
source§fn clone(&self) -> BillingInvoiceLine
fn clone(&self) -> BillingInvoiceLine
Returns a copy 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 BillingInvoiceLine
impl Debug for BillingInvoiceLine
source§impl Default for BillingInvoiceLine
impl Default for BillingInvoiceLine
source§fn default() -> BillingInvoiceLine
fn default() -> BillingInvoiceLine
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingInvoiceLine
impl<'de> Deserialize<'de> for BillingInvoiceLine
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<BillingInvoiceLine> for BillingInvoiceLine
impl PartialEq<BillingInvoiceLine> for BillingInvoiceLine
source§fn eq(&self, other: &BillingInvoiceLine) -> bool
fn eq(&self, other: &BillingInvoiceLine) -> bool
This method tests for
self and other values to be equal, and is used
by ==.