Struct stripe::generated::billing::subscription_schedule::AddInvoiceItems
source · pub struct AddInvoiceItems {
pub price: Option<String>,
pub price_data: Option<InvoiceItemPriceData>,
pub quantity: Option<u64>,
pub tax_rates: Option<Vec<String>>,
}
Fields§
§price: Option<String>
The ID of the price object.
price_data: Option<InvoiceItemPriceData>
Data used to generate a new Price object inline.
quantity: Option<u64>
Quantity for this item.
Defaults to 1.
tax_rates: Option<Vec<String>>
The tax rates which apply to the item.
When set, the default_tax_rates
do not apply to this item.
Trait Implementations§
source§impl Clone for AddInvoiceItems
impl Clone for AddInvoiceItems
source§fn clone(&self) -> AddInvoiceItems
fn clone(&self) -> AddInvoiceItems
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 AddInvoiceItems
impl Debug for AddInvoiceItems
source§impl Default for AddInvoiceItems
impl Default for AddInvoiceItems
source§fn default() -> AddInvoiceItems
fn default() -> AddInvoiceItems
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddInvoiceItems
impl<'de> Deserialize<'de> for AddInvoiceItems
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
Auto Trait Implementations§
impl Freeze for AddInvoiceItems
impl RefUnwindSafe for AddInvoiceItems
impl Send for AddInvoiceItems
impl Sync for AddInvoiceItems
impl Unpin for AddInvoiceItems
impl UnwindSafe for AddInvoiceItems
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