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