pub struct TransferPlatformPersonAddress {
pub city: String,
pub country: String,
pub postal_code: String,
pub region: String,
pub street: String,
pub street2: Option<String>,
}Expand description
Home address of a person
Fields§
§city: StringThe full city name.
country: StringValid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form.
postal_code: StringThe postal code of the address.
region: StringAn ISO 3166-2 subdivision code. Related terms would be “state”, “province”, “prefecture”, “zone”, “subdivision”, etc.
street: StringThe primary street portion of an address. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters.
street2: Option<String>Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters.
Trait Implementations§
Source§impl Clone for TransferPlatformPersonAddress
impl Clone for TransferPlatformPersonAddress
Source§fn clone(&self) -> TransferPlatformPersonAddress
fn clone(&self) -> TransferPlatformPersonAddress
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 TransferPlatformPersonAddress
impl Default for TransferPlatformPersonAddress
Source§fn default() -> TransferPlatformPersonAddress
fn default() -> TransferPlatformPersonAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferPlatformPersonAddress
impl<'de> Deserialize<'de> for TransferPlatformPersonAddress
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 TransferPlatformPersonAddress
impl RefUnwindSafe for TransferPlatformPersonAddress
impl Send for TransferPlatformPersonAddress
impl Sync for TransferPlatformPersonAddress
impl Unpin for TransferPlatformPersonAddress
impl UnwindSafe for TransferPlatformPersonAddress
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