pub struct ExpandedTaxInfoUpdateRequestModel {
pub country: String,
pub postal_code: Option<String>,
pub tax_id: Option<String>,
pub line1: Option<String>,
pub line2: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
}
Fields§
§country: String
§postal_code: Option<String>
§tax_id: Option<String>
§line1: Option<String>
§line2: Option<String>
§city: Option<String>
§state: Option<String>
Implementations§
Source§impl ExpandedTaxInfoUpdateRequestModel
impl ExpandedTaxInfoUpdateRequestModel
pub fn new(country: String) -> ExpandedTaxInfoUpdateRequestModel
Trait Implementations§
Source§impl Clone for ExpandedTaxInfoUpdateRequestModel
impl Clone for ExpandedTaxInfoUpdateRequestModel
Source§fn clone(&self) -> ExpandedTaxInfoUpdateRequestModel
fn clone(&self) -> ExpandedTaxInfoUpdateRequestModel
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 Default for ExpandedTaxInfoUpdateRequestModel
impl Default for ExpandedTaxInfoUpdateRequestModel
Source§fn default() -> ExpandedTaxInfoUpdateRequestModel
fn default() -> ExpandedTaxInfoUpdateRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpandedTaxInfoUpdateRequestModel
impl<'de> Deserialize<'de> for ExpandedTaxInfoUpdateRequestModel
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 ExpandedTaxInfoUpdateRequestModel
impl PartialEq for ExpandedTaxInfoUpdateRequestModel
Source§fn eq(&self, other: &ExpandedTaxInfoUpdateRequestModel) -> bool
fn eq(&self, other: &ExpandedTaxInfoUpdateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExpandedTaxInfoUpdateRequestModel
Auto Trait Implementations§
impl Freeze for ExpandedTaxInfoUpdateRequestModel
impl RefUnwindSafe for ExpandedTaxInfoUpdateRequestModel
impl Send for ExpandedTaxInfoUpdateRequestModel
impl Sync for ExpandedTaxInfoUpdateRequestModel
impl Unpin for ExpandedTaxInfoUpdateRequestModel
impl UnwindSafe for ExpandedTaxInfoUpdateRequestModel
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