pub struct TaxId {
pub scheme: String,
pub number: String,
}Expand description
A number under which a tax authority knows a party.
Fields§
§scheme: StringThe scheme, e.g. vat (an EU VAT identification number, with its country prefix) or de-steuernummer.
number: StringThe number as the authority writes it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaxId
impl<'de> Deserialize<'de> for TaxId
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 Eq for TaxId
impl StructuralPartialEq for TaxId
Auto Trait Implementations§
impl Freeze for TaxId
impl RefUnwindSafe for TaxId
impl Send for TaxId
impl Sync for TaxId
impl Unpin for TaxId
impl UnsafeUnpin for TaxId
impl UnwindSafe for TaxId
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