pub struct AddressApiSchema {
pub country_code: CountryCodeEnum,
pub city: String,
pub last_name: Option<String>,
pub first_name: Option<String>,
pub address_line1: String,
pub state: Option<String>,
pub address_line2: Option<String>,
pub postal_code: Option<String>,
}
Fields§
§country_code: CountryCodeEnum
Two letter ISO country code
city: String
Name of the city, district, town or village
last_name: Option<String>
§first_name: Option<String>
§address_line1: String
Street name, Company name or PO Box
state: Option<String>
State, County or Province
address_line2: Option<String>
Apartment, Unit or Building number
postal_code: Option<String>
Postal or ZIP code
Trait Implementations§
Source§impl Debug for AddressApiSchema
impl Debug for AddressApiSchema
Source§impl<'de> Deserialize<'de> for AddressApiSchema
impl<'de> Deserialize<'de> for AddressApiSchema
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 Display for AddressApiSchema
impl Display for AddressApiSchema
Auto Trait Implementations§
impl Freeze for AddressApiSchema
impl RefUnwindSafe for AddressApiSchema
impl Send for AddressApiSchema
impl Sync for AddressApiSchema
impl Unpin for AddressApiSchema
impl UnwindSafe for AddressApiSchema
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