Struct aws_sdk_chime::types::CandidateAddress
source · #[non_exhaustive]pub struct CandidateAddress {
pub street_info: 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 suggested address.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.street_info: Option<String>The street information of a candidate address
street_number: Option<String>The numeric portion of a candidate address.
city: Option<String>The city of a candidate address.
state: Option<String>The state of a candidate address.
postal_code: Option<String>The postal code of a candidate address.
postal_code_plus4: Option<String>The Zip + 4 or postal code + 4 of a candidate address.
country: Option<String>The country of a candidate address.
Implementations§
source§impl CandidateAddress
impl CandidateAddress
sourcepub fn street_info(&self) -> Option<&str>
pub fn street_info(&self) -> Option<&str>
The street information of a candidate address
sourcepub fn street_number(&self) -> Option<&str>
pub fn street_number(&self) -> Option<&str>
The numeric portion of a candidate address.
sourcepub fn postal_code(&self) -> Option<&str>
pub fn postal_code(&self) -> Option<&str>
The postal code of a candidate 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 a candidate address.
source§impl CandidateAddress
impl CandidateAddress
sourcepub fn builder() -> CandidateAddressBuilder
pub fn builder() -> CandidateAddressBuilder
Creates a new builder-style object to manufacture CandidateAddress.
Trait Implementations§
source§impl Clone for CandidateAddress
impl Clone for CandidateAddress
source§fn clone(&self) -> CandidateAddress
fn clone(&self) -> CandidateAddress
Returns a copy 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 Debug for CandidateAddress
impl Debug for CandidateAddress
source§impl PartialEq for CandidateAddress
impl PartialEq for CandidateAddress
source§fn eq(&self, other: &CandidateAddress) -> bool
fn eq(&self, other: &CandidateAddress) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CandidateAddress
Auto Trait Implementations§
impl RefUnwindSafe for CandidateAddress
impl Send for CandidateAddress
impl Sync for CandidateAddress
impl Unpin for CandidateAddress
impl UnwindSafe for CandidateAddress
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.