pub struct BillingInvoiceLine {
pub amount: i32,
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: i32,
pub subscription: Option<String>,
pub subscription_item: Option<String>,
}Fields
amount: i32description: Stringid: Stringinvoice_item: Option<String>line_item_type: LineItemTypemetadata: HashMap<String, String>price: Option<Box<BillingPrice>>quantity: i32subscription: Option<String>subscription_item: Option<String>Implementations
Trait Implementations
sourceimpl Clone for BillingInvoiceLine
impl Clone for BillingInvoiceLine
sourcefn clone(&self) -> BillingInvoiceLine
fn clone(&self) -> BillingInvoiceLine
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BillingInvoiceLine
impl Debug for BillingInvoiceLine
sourceimpl Default for BillingInvoiceLine
impl Default for BillingInvoiceLine
sourcefn default() -> BillingInvoiceLine
fn default() -> BillingInvoiceLine
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for BillingInvoiceLine
impl<'de> Deserialize<'de> for BillingInvoiceLine
sourcefn 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
sourceimpl PartialEq<BillingInvoiceLine> for BillingInvoiceLine
impl PartialEq<BillingInvoiceLine> for BillingInvoiceLine
sourcefn eq(&self, other: &BillingInvoiceLine) -> bool
fn eq(&self, other: &BillingInvoiceLine) -> bool
sourceimpl Serialize for BillingInvoiceLine
impl Serialize for BillingInvoiceLine
impl StructuralPartialEq for BillingInvoiceLine
Auto Trait Implementations
impl RefUnwindSafe for BillingInvoiceLine
impl Send for BillingInvoiceLine
impl Sync for BillingInvoiceLine
impl Unpin for BillingInvoiceLine
impl UnwindSafe for BillingInvoiceLine
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more