Struct paypal_rust::resources::address::Address
source · pub struct Address {
pub street_address: Option<String>,
pub locality: Option<String>,
pub region: Option<String>,
pub postal_code: Option<String>,
pub country: Option<String>,
}
Fields§
§street_address: Option<String>
The full street address component. Can include house number, street name.
locality: Option<String>
The city or locality.
region: Option<String>
The state, province, prefecture, or region.
postal_code: Option<String>
The zip code or postal code.
country: Option<String>
The country name.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Address
impl<'de> Deserialize<'de> for Address
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