#[non_exhaustive]pub struct AvailableNumberSummaryBuilder { /* private fields */ }
Expand description
A builder for AvailableNumberSummary
.
Implementations§
source§impl AvailableNumberSummaryBuilder
impl AvailableNumberSummaryBuilder
sourcepub fn phone_number(self, input: impl Into<String>) -> Self
pub fn phone_number(self, input: impl Into<String>) -> Self
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
sourcepub fn set_phone_number(self, input: Option<String>) -> Self
pub fn set_phone_number(self, input: Option<String>) -> Self
The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
sourcepub fn phone_number_country_code(self, input: PhoneNumberCountryCode) -> Self
pub fn phone_number_country_code(self, input: PhoneNumberCountryCode) -> Self
The ISO country code.
sourcepub fn set_phone_number_country_code(
self,
input: Option<PhoneNumberCountryCode>
) -> Self
pub fn set_phone_number_country_code( self, input: Option<PhoneNumberCountryCode> ) -> Self
The ISO country code.
sourcepub fn phone_number_type(self, input: PhoneNumberType) -> Self
pub fn phone_number_type(self, input: PhoneNumberType) -> Self
The type of phone number.
sourcepub fn set_phone_number_type(self, input: Option<PhoneNumberType>) -> Self
pub fn set_phone_number_type(self, input: Option<PhoneNumberType>) -> Self
The type of phone number.
sourcepub fn build(self) -> AvailableNumberSummary
pub fn build(self) -> AvailableNumberSummary
Consumes the builder and constructs a AvailableNumberSummary
.
Trait Implementations§
source§impl Clone for AvailableNumberSummaryBuilder
impl Clone for AvailableNumberSummaryBuilder
source§fn clone(&self) -> AvailableNumberSummaryBuilder
fn clone(&self) -> AvailableNumberSummaryBuilder
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 Default for AvailableNumberSummaryBuilder
impl Default for AvailableNumberSummaryBuilder
source§fn default() -> AvailableNumberSummaryBuilder
fn default() -> AvailableNumberSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AvailableNumberSummaryBuilder> for AvailableNumberSummaryBuilder
impl PartialEq<AvailableNumberSummaryBuilder> for AvailableNumberSummaryBuilder
source§fn eq(&self, other: &AvailableNumberSummaryBuilder) -> bool
fn eq(&self, other: &AvailableNumberSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.