Struct aws_sdk_chime::types::Address
source · #[non_exhaustive]pub struct Address { /* private fields */ }Expand description
A validated 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.
Trait Implementations§
source§impl PartialEq<Address> for Address
impl PartialEq<Address> for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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