pub struct VatRateResponse {
pub country: Option<String>,
pub vat_data: VatRate,
}Expand description
Response for Client::get_vat_rate.
Fields§
§country: Option<String>ISO-3166 alpha-2 country code echoed back by the API.
vat_data: VatRateNested VAT rate detail.
Trait Implementations§
Source§impl Clone for VatRateResponse
impl Clone for VatRateResponse
Source§fn clone(&self) -> VatRateResponse
fn clone(&self) -> VatRateResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VatRateResponse
impl Debug for VatRateResponse
Source§impl<'de> Deserialize<'de> for VatRateResponse
impl<'de> Deserialize<'de> for VatRateResponse
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
Source§impl PartialEq for VatRateResponse
impl PartialEq for VatRateResponse
Source§fn eq(&self, other: &VatRateResponse) -> bool
fn eq(&self, other: &VatRateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VatRateResponse
Auto Trait Implementations§
impl Freeze for VatRateResponse
impl RefUnwindSafe for VatRateResponse
impl Send for VatRateResponse
impl Sync for VatRateResponse
impl Unpin for VatRateResponse
impl UnsafeUnpin for VatRateResponse
impl UnwindSafe for VatRateResponse
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