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