pub struct AddressUpdate {
pub description: Option<String>,
pub first_line: Option<String>,
pub second_line: Option<String>,
pub city: Option<String>,
pub postal_code: Option<String>,
pub region: Option<String>,
pub country_code: CountryCodeSupported,
pub custom_data: Option<HashMap<String, String>>,
pub status: Status,
}
Expand description
Represents an address entity when updating addresses.
Fields§
§description: Option<String>
Memorable description for this address.
first_line: Option<String>
First line of this address.
second_line: Option<String>
Second line of this address.
city: Option<String>
City of this address.
postal_code: Option<String>
ZIP or postal code of this address. Required for some countries.
region: Option<String>
State, county, or region of this address.
country_code: CountryCodeSupported
Supported two-letter ISO 3166-1 alpha-2 country code.
custom_data: Option<HashMap<String, String>>
Your own structured key-value data.
status: Status
Whether this entity can be used in Paddle.
Trait Implementations§
Source§impl Clone for AddressUpdate
impl Clone for AddressUpdate
Source§fn clone(&self) -> AddressUpdate
fn clone(&self) -> AddressUpdate
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 AddressUpdate
impl Debug for AddressUpdate
Source§impl<'de> Deserialize<'de> for AddressUpdate
impl<'de> Deserialize<'de> for AddressUpdate
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 AddressUpdate
impl RefUnwindSafe for AddressUpdate
impl Send for AddressUpdate
impl Sync for AddressUpdate
impl Unpin for AddressUpdate
impl UnwindSafe for AddressUpdate
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