pub struct BillingAddress {
pub line1: String,
pub line2: Option<String>,
pub city: String,
pub region: String,
pub postal_code: String,
pub country_code: String,
pub country: Option<String>,
}Expand description
Billing address
Fields§
§line1: String§line2: Option<String>§city: String§region: String§postal_code: String§country_code: String§country: Option<String>Trait Implementations§
Source§impl Clone for BillingAddress
impl Clone for BillingAddress
Source§fn clone(&self) -> BillingAddress
fn clone(&self) -> BillingAddress
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 BillingAddress
impl Debug for BillingAddress
Source§impl<'de> Deserialize<'de> for BillingAddress
impl<'de> Deserialize<'de> for BillingAddress
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
Auto Trait Implementations§
impl Freeze for BillingAddress
impl RefUnwindSafe for BillingAddress
impl Send for BillingAddress
impl Sync for BillingAddress
impl Unpin for BillingAddress
impl UnwindSafe for BillingAddress
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