#[non_exhaustive]pub struct PhoneNumberCapabilitiesBuilder { /* private fields */ }Expand description
A builder for PhoneNumberCapabilities.
Implementations§
source§impl PhoneNumberCapabilitiesBuilder
impl PhoneNumberCapabilitiesBuilder
sourcepub fn inbound_call(self, input: bool) -> Self
pub fn inbound_call(self, input: bool) -> Self
Allows or denies inbound calling for the specified phone number.
sourcepub fn set_inbound_call(self, input: Option<bool>) -> Self
pub fn set_inbound_call(self, input: Option<bool>) -> Self
Allows or denies inbound calling for the specified phone number.
sourcepub fn outbound_call(self, input: bool) -> Self
pub fn outbound_call(self, input: bool) -> Self
Allows or denies outbound calling for the specified phone number.
sourcepub fn set_outbound_call(self, input: Option<bool>) -> Self
pub fn set_outbound_call(self, input: Option<bool>) -> Self
Allows or denies outbound calling for the specified phone number.
sourcepub fn inbound_sms(self, input: bool) -> Self
pub fn inbound_sms(self, input: bool) -> Self
Allows or denies inbound SMS messaging for the specified phone number.
sourcepub fn set_inbound_sms(self, input: Option<bool>) -> Self
pub fn set_inbound_sms(self, input: Option<bool>) -> Self
Allows or denies inbound SMS messaging for the specified phone number.
sourcepub fn outbound_sms(self, input: bool) -> Self
pub fn outbound_sms(self, input: bool) -> Self
Allows or denies outbound SMS messaging for the specified phone number.
sourcepub fn set_outbound_sms(self, input: Option<bool>) -> Self
pub fn set_outbound_sms(self, input: Option<bool>) -> Self
Allows or denies outbound SMS messaging for the specified phone number.
sourcepub fn inbound_mms(self, input: bool) -> Self
pub fn inbound_mms(self, input: bool) -> Self
Allows or denies inbound MMS messaging for the specified phone number.
sourcepub fn set_inbound_mms(self, input: Option<bool>) -> Self
pub fn set_inbound_mms(self, input: Option<bool>) -> Self
Allows or denies inbound MMS messaging for the specified phone number.
sourcepub fn outbound_mms(self, input: bool) -> Self
pub fn outbound_mms(self, input: bool) -> Self
Allows or denies outbound MMS messaging for the specified phone number.
sourcepub fn set_outbound_mms(self, input: Option<bool>) -> Self
pub fn set_outbound_mms(self, input: Option<bool>) -> Self
Allows or denies outbound MMS messaging for the specified phone number.
sourcepub fn build(self) -> PhoneNumberCapabilities
pub fn build(self) -> PhoneNumberCapabilities
Consumes the builder and constructs a PhoneNumberCapabilities.
Trait Implementations§
source§impl Clone for PhoneNumberCapabilitiesBuilder
impl Clone for PhoneNumberCapabilitiesBuilder
source§fn clone(&self) -> PhoneNumberCapabilitiesBuilder
fn clone(&self) -> PhoneNumberCapabilitiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PhoneNumberCapabilitiesBuilder
impl Default for PhoneNumberCapabilitiesBuilder
source§fn default() -> PhoneNumberCapabilitiesBuilder
fn default() -> PhoneNumberCapabilitiesBuilder
source§impl PartialEq<PhoneNumberCapabilitiesBuilder> for PhoneNumberCapabilitiesBuilder
impl PartialEq<PhoneNumberCapabilitiesBuilder> for PhoneNumberCapabilitiesBuilder
source§fn eq(&self, other: &PhoneNumberCapabilitiesBuilder) -> bool
fn eq(&self, other: &PhoneNumberCapabilitiesBuilder) -> bool
self and other values to be equal, and is used
by ==.