pub struct TaxInformationDto {
pub country: String,
pub postal_code: String,
pub tax_id: Option<String>,
}
Fields§
§country: String
§postal_code: String
§tax_id: Option<String>
Implementations§
Source§impl TaxInformationDto
impl TaxInformationDto
pub fn new(country: String, postal_code: String) -> TaxInformationDto
Trait Implementations§
Source§impl Clone for TaxInformationDto
impl Clone for TaxInformationDto
Source§fn clone(&self) -> TaxInformationDto
fn clone(&self) -> TaxInformationDto
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 TaxInformationDto
impl Debug for TaxInformationDto
Source§impl Default for TaxInformationDto
impl Default for TaxInformationDto
Source§fn default() -> TaxInformationDto
fn default() -> TaxInformationDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaxInformationDto
impl<'de> Deserialize<'de> for TaxInformationDto
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 TaxInformationDto
impl PartialEq for TaxInformationDto
Source§impl Serialize for TaxInformationDto
impl Serialize for TaxInformationDto
impl StructuralPartialEq for TaxInformationDto
Auto Trait Implementations§
impl Freeze for TaxInformationDto
impl RefUnwindSafe for TaxInformationDto
impl Send for TaxInformationDto
impl Sync for TaxInformationDto
impl Unpin for TaxInformationDto
impl UnwindSafe for TaxInformationDto
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