Struct aws_sdk_chime::types::builders::CandidateAddressBuilder
source · #[non_exhaustive]pub struct CandidateAddressBuilder { /* private fields */ }Expand description
A builder for CandidateAddress.
Implementations§
source§impl CandidateAddressBuilder
impl CandidateAddressBuilder
sourcepub fn street_info(self, input: impl Into<String>) -> Self
pub fn street_info(self, input: impl Into<String>) -> Self
The street information of a candidate address
sourcepub fn set_street_info(self, input: Option<String>) -> Self
pub fn set_street_info(self, input: Option<String>) -> Self
The street information of a candidate address
sourcepub fn get_street_info(&self) -> &Option<String>
pub fn get_street_info(&self) -> &Option<String>
The street information of a candidate address
sourcepub fn street_number(self, input: impl Into<String>) -> Self
pub fn street_number(self, input: impl Into<String>) -> Self
The numeric portion of a candidate address.
sourcepub fn set_street_number(self, input: Option<String>) -> Self
pub fn set_street_number(self, input: Option<String>) -> Self
The numeric portion of a candidate address.
sourcepub fn get_street_number(&self) -> &Option<String>
pub fn get_street_number(&self) -> &Option<String>
The numeric portion of a candidate address.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The postal code of a candidate address.
sourcepub fn set_postal_code(self, input: Option<String>) -> Self
pub fn set_postal_code(self, input: Option<String>) -> Self
The postal code of a candidate address.
sourcepub fn get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
The postal code of a candidate address.
sourcepub fn postal_code_plus4(self, input: impl Into<String>) -> Self
pub fn postal_code_plus4(self, input: impl Into<String>) -> Self
The Zip + 4 or postal code + 4 of a candidate address.
sourcepub fn set_postal_code_plus4(self, input: Option<String>) -> Self
pub fn set_postal_code_plus4(self, input: Option<String>) -> Self
The Zip + 4 or postal code + 4 of a candidate address.
sourcepub fn get_postal_code_plus4(&self) -> &Option<String>
pub fn get_postal_code_plus4(&self) -> &Option<String>
The Zip + 4 or postal code + 4 of a candidate address.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The country of a candidate address.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
The country of a candidate address.
sourcepub fn build(self) -> CandidateAddress
pub fn build(self) -> CandidateAddress
Consumes the builder and constructs a CandidateAddress.
Trait Implementations§
source§impl Clone for CandidateAddressBuilder
impl Clone for CandidateAddressBuilder
source§fn clone(&self) -> CandidateAddressBuilder
fn clone(&self) -> CandidateAddressBuilder
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 CandidateAddressBuilder
impl Debug for CandidateAddressBuilder
source§impl Default for CandidateAddressBuilder
impl Default for CandidateAddressBuilder
source§fn default() -> CandidateAddressBuilder
fn default() -> CandidateAddressBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CandidateAddressBuilder
impl PartialEq for CandidateAddressBuilder
source§fn eq(&self, other: &CandidateAddressBuilder) -> bool
fn eq(&self, other: &CandidateAddressBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CandidateAddressBuilder
Auto Trait Implementations§
impl Freeze for CandidateAddressBuilder
impl RefUnwindSafe for CandidateAddressBuilder
impl Send for CandidateAddressBuilder
impl Sync for CandidateAddressBuilder
impl Unpin for CandidateAddressBuilder
impl UnwindSafe for CandidateAddressBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.