Struct stripe::CreateCreditNoteLinesTaxAmounts
source · pub struct CreateCreditNoteLinesTaxAmounts {
pub amount: i64,
pub tax_rate: String,
pub taxable_amount: i64,
}
Fields§
§amount: i64
The amount, in cents (or local equivalent), of the tax.
tax_rate: String
The id of the tax rate for this tax amount.
The tax rate must have been automatically created by Stripe.
taxable_amount: i64
The amount on which tax is calculated, in cents (or local equivalent).
Trait Implementations§
source§impl Clone for CreateCreditNoteLinesTaxAmounts
impl Clone for CreateCreditNoteLinesTaxAmounts
source§fn clone(&self) -> CreateCreditNoteLinesTaxAmounts
fn clone(&self) -> CreateCreditNoteLinesTaxAmounts
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 CreateCreditNoteLinesTaxAmounts
impl Default for CreateCreditNoteLinesTaxAmounts
source§fn default() -> CreateCreditNoteLinesTaxAmounts
fn default() -> CreateCreditNoteLinesTaxAmounts
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCreditNoteLinesTaxAmounts
impl<'de> Deserialize<'de> for CreateCreditNoteLinesTaxAmounts
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 CreateCreditNoteLinesTaxAmounts
impl RefUnwindSafe for CreateCreditNoteLinesTaxAmounts
impl Send for CreateCreditNoteLinesTaxAmounts
impl Sync for CreateCreditNoteLinesTaxAmounts
impl Unpin for CreateCreditNoteLinesTaxAmounts
impl UnwindSafe for CreateCreditNoteLinesTaxAmounts
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