pub struct PartyIdentification {
pub address: Option<Box<Address>>,
pub party_id: String,
pub tax_registration_details: Option<Vec<TaxRegistrationDetails>>,
}Expand description
PartyIdentification : Name/Address and tax details of the party.
Fields§
§address: Option<Box<Address>>§party_id: StringAssigned identification for the party.
tax_registration_details: Option<Vec<TaxRegistrationDetails>>Tax registration details of the entity.
Implementations§
Source§impl PartyIdentification
impl PartyIdentification
Sourcepub fn new(party_id: String) -> PartyIdentification
pub fn new(party_id: String) -> PartyIdentification
Name/Address and tax details of the party.
Trait Implementations§
Source§impl Clone for PartyIdentification
impl Clone for PartyIdentification
Source§fn clone(&self) -> PartyIdentification
fn clone(&self) -> PartyIdentification
Returns a duplicate of the value. Read more
1.0.0 · 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 PartyIdentification
impl Debug for PartyIdentification
Source§impl Default for PartyIdentification
impl Default for PartyIdentification
Source§fn default() -> PartyIdentification
fn default() -> PartyIdentification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PartyIdentification
impl<'de> Deserialize<'de> for PartyIdentification
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 PartyIdentification
impl PartialEq for PartyIdentification
Source§impl Serialize for PartyIdentification
impl Serialize for PartyIdentification
impl StructuralPartialEq for PartyIdentification
Auto Trait Implementations§
impl Freeze for PartyIdentification
impl RefUnwindSafe for PartyIdentification
impl Send for PartyIdentification
impl Sync for PartyIdentification
impl Unpin for PartyIdentification
impl UnsafeUnpin for PartyIdentification
impl UnwindSafe for PartyIdentification
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