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