Struct stripe::generated::billing::subscription_schedule::SubscriptionScheduleAddInvoiceItem
source · pub struct SubscriptionScheduleAddInvoiceItem {
pub price: Expandable<Price>,
pub quantity: Option<u64>,
pub tax_rates: Option<Vec<TaxRate>>,
}
Fields§
§price: Expandable<Price>
ID of the price used to generate the invoice item.
quantity: Option<u64>
The quantity of the invoice item.
tax_rates: Option<Vec<TaxRate>>
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 SubscriptionScheduleAddInvoiceItem
impl Clone for SubscriptionScheduleAddInvoiceItem
source§fn clone(&self) -> SubscriptionScheduleAddInvoiceItem
fn clone(&self) -> SubscriptionScheduleAddInvoiceItem
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 Default for SubscriptionScheduleAddInvoiceItem
impl Default for SubscriptionScheduleAddInvoiceItem
source§fn default() -> SubscriptionScheduleAddInvoiceItem
fn default() -> SubscriptionScheduleAddInvoiceItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionScheduleAddInvoiceItem
impl<'de> Deserialize<'de> for SubscriptionScheduleAddInvoiceItem
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 SubscriptionScheduleAddInvoiceItem
impl RefUnwindSafe for SubscriptionScheduleAddInvoiceItem
impl Send for SubscriptionScheduleAddInvoiceItem
impl Sync for SubscriptionScheduleAddInvoiceItem
impl Unpin for SubscriptionScheduleAddInvoiceItem
impl UnwindSafe for SubscriptionScheduleAddInvoiceItem
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