Struct aws_sdk_chime::types::builders::AddressBuilder
source · #[non_exhaustive]pub struct AddressBuilder { /* private fields */ }Expand description
A builder for Address.
Implementations§
source§impl AddressBuilder
impl AddressBuilder
sourcepub fn street_name(self, input: impl Into<String>) -> Self
pub fn street_name(self, input: impl Into<String>) -> Self
The address street, such as 8th Avenue.
sourcepub fn set_street_name(self, input: Option<String>) -> Self
pub fn set_street_name(self, input: Option<String>) -> Self
The address street, such as 8th Avenue.
sourcepub fn street_suffix(self, input: impl Into<String>) -> Self
pub fn street_suffix(self, input: impl Into<String>) -> Self
The address suffix, such as the N in 8th Avenue N.
sourcepub fn set_street_suffix(self, input: Option<String>) -> Self
pub fn set_street_suffix(self, input: Option<String>) -> Self
The address suffix, such as the N in 8th Avenue N.
sourcepub fn post_directional(self, input: impl Into<String>) -> Self
pub fn post_directional(self, input: impl Into<String>) -> Self
An address suffix location, such as the S. Unit A in Central Park S. Unit A.
sourcepub fn set_post_directional(self, input: Option<String>) -> Self
pub fn set_post_directional(self, input: Option<String>) -> Self
An address suffix location, such as the S. Unit A in Central Park S. Unit A.
sourcepub fn pre_directional(self, input: impl Into<String>) -> Self
pub fn pre_directional(self, input: impl Into<String>) -> Self
An address prefix location, such as the N in N. Third St..
sourcepub fn set_pre_directional(self, input: Option<String>) -> Self
pub fn set_pre_directional(self, input: Option<String>) -> Self
An address prefix location, such as the N in N. Third St..
sourcepub fn street_number(self, input: impl Into<String>) -> Self
pub fn street_number(self, input: impl Into<String>) -> Self
The numeric portion of an 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 an 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 an 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 an 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 an 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 an address.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The country of an address.
Trait Implementations§
source§impl Clone for AddressBuilder
impl Clone for AddressBuilder
source§fn clone(&self) -> AddressBuilder
fn clone(&self) -> AddressBuilder
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 AddressBuilder
impl Debug for AddressBuilder
source§impl Default for AddressBuilder
impl Default for AddressBuilder
source§fn default() -> AddressBuilder
fn default() -> AddressBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AddressBuilder> for AddressBuilder
impl PartialEq<AddressBuilder> for AddressBuilder
source§fn eq(&self, other: &AddressBuilder) -> bool
fn eq(&self, other: &AddressBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddressBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddressBuilder
impl Send for AddressBuilder
impl Sync for AddressBuilder
impl Unpin for AddressBuilder
impl UnwindSafe for AddressBuilder
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