pub struct VatRate {
pub country_code: Option<String>,
pub country_name: Option<String>,
pub vat_rate: f64,
}Expand description
VAT rate data for a single country.
Fields§
§country_code: Option<String>ISO-3166 alpha-2 country code (may be omitted in nested responses).
country_name: Option<String>Human-readable country name.
vat_rate: f64VAT rate as a percentage (e.g. 19.0 for 19%). Accepts numbers or numeric strings.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VatRate
impl<'de> Deserialize<'de> for VatRate
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 StructuralPartialEq for VatRate
Auto Trait Implementations§
impl Freeze for VatRate
impl RefUnwindSafe for VatRate
impl Send for VatRate
impl Sync for VatRate
impl Unpin for VatRate
impl UnsafeUnpin for VatRate
impl UnwindSafe for VatRate
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