pub struct OrderTax {
pub id: i32,
pub rate_code: String,
pub rate_id: String,
pub label: String,
pub compound: bool,
pub tax_total: String,
pub shipping_tax_total: String,
pub meta_data: Vec<MetaData>,
}
Fields§
§id: i32
Item ID.
rate_code: String
Tax rate code.
rate_id: String
Tax rate ID.
label: String
Tax rate label.
compound: bool
Show if is a compound tax rate.
tax_total: String
Tax total (not including shipping taxes).
shipping_tax_total: String
Shipping tax total.
meta_data: Vec<MetaData>
Meta data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrderTax
impl<'de> Deserialize<'de> for OrderTax
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 OrderTax
impl RefUnwindSafe for OrderTax
impl Send for OrderTax
impl Sync for OrderTax
impl Unpin for OrderTax
impl UnwindSafe for OrderTax
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