Struct aws_sdk_chime::types::Address
source · #[non_exhaustive]pub struct Address {
pub street_name: Option<String>,
pub street_suffix: Option<String>,
pub post_directional: Option<String>,
pub pre_directional: Option<String>,
pub street_number: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub postal_code: Option<String>,
pub postal_code_plus4: Option<String>,
pub country: Option<String>,
}Expand description
A validated address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.street_name: Option<String>The address street, such as 8th Avenue.
street_suffix: Option<String>The address suffix, such as the N in 8th Avenue N.
post_directional: Option<String>An address suffix location, such as the S. Unit A in Central Park S. Unit A.
pre_directional: Option<String>An address prefix location, such as the N in N. Third St..
street_number: Option<String>The numeric portion of an address.
city: Option<String>The city of an address.
state: Option<String>The state of an address.
postal_code: Option<String>The postal code of an address.
postal_code_plus4: Option<String>The Zip + 4 or postal code + 4 of an address.
country: Option<String>The country of an address.
Implementations§
source§impl Address
impl Address
sourcepub fn street_name(&self) -> Option<&str>
pub fn street_name(&self) -> Option<&str>
The address street, such as 8th Avenue.
sourcepub fn street_suffix(&self) -> Option<&str>
pub fn street_suffix(&self) -> Option<&str>
The address suffix, such as the N in 8th Avenue N.
sourcepub fn post_directional(&self) -> Option<&str>
pub fn post_directional(&self) -> Option<&str>
An address suffix location, such as the S. Unit A in Central Park S. Unit A.
sourcepub fn pre_directional(&self) -> Option<&str>
pub fn pre_directional(&self) -> Option<&str>
An address prefix location, such as the N in N. Third St..
sourcepub fn street_number(&self) -> Option<&str>
pub fn street_number(&self) -> Option<&str>
The numeric portion of an address.
sourcepub fn postal_code(&self) -> Option<&str>
pub fn postal_code(&self) -> Option<&str>
The postal code of an address.
sourcepub fn postal_code_plus4(&self) -> Option<&str>
pub fn postal_code_plus4(&self) -> Option<&str>
The Zip + 4 or postal code + 4 of an address.