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