#[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 get_phone_number(&self) -> &Option<String>
pub fn get_phone_number(&self) -> &Option<String>
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 get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
pub fn get_phone_number_country_code(&self) -> &Option<PhoneNumberCountryCode>
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 get_phone_number_type(&self) -> &Option<PhoneNumberType>
pub fn get_phone_number_type(&self) -> &Option<PhoneNumberType>
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 for AvailableNumberSummaryBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for AvailableNumberSummaryBuilder
Auto Trait Implementations§
impl Freeze for AvailableNumberSummaryBuilder
impl RefUnwindSafe for AvailableNumberSummaryBuilder
impl Send for AvailableNumberSummaryBuilder
impl Sync for AvailableNumberSummaryBuilder
impl Unpin for AvailableNumberSummaryBuilder
impl UnwindSafe for AvailableNumberSummaryBuilder
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.