Struct google_qpxexpress1::api::TaxInfo
source · pub struct TaxInfo {
pub charge_type: Option<String>,
pub code: Option<String>,
pub country: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub sale_price: Option<String>,
}
Expand description
Tax information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§charge_type: Option<String>
Whether this is a government charge or a carrier surcharge.
code: Option<String>
The code to enter in the ticket’s tax box.
country: Option<String>
For government charges, the country levying the charge.
id: Option<String>
Identifier uniquely identifying this tax in a response. Not present for unnamed carrier surcharges.
kind: Option<String>
Identifies this as a tax information object. Value: the fixed string qpxexpress#taxInfo.
sale_price: Option<String>
The price of the tax in the sales or equivalent currency.
Trait Implementations§
source§impl<'de> Deserialize<'de> for TaxInfo
impl<'de> Deserialize<'de> for TaxInfo
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
impl Part for TaxInfo
Auto Trait Implementations§
impl RefUnwindSafe for TaxInfo
impl Send for TaxInfo
impl Sync for TaxInfo
impl Unpin for TaxInfo
impl UnwindSafe for TaxInfo
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