pub struct ApiV2010AccountIncomingPhoneNumberCapabilities {
pub mms: Option<bool>,
pub sms: Option<bool>,
pub voice: Option<bool>,
pub fax: Option<bool>,
}
Expand description
ApiV2010AccountIncomingPhoneNumberCapabilities : The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are Voice
, SMS
, and MMS
and each capability can be: true
or false
.
Fields§
§mms: Option<bool>
§sms: Option<bool>
§voice: Option<bool>
§fax: Option<bool>
Implementations§
Source§impl ApiV2010AccountIncomingPhoneNumberCapabilities
impl ApiV2010AccountIncomingPhoneNumberCapabilities
Sourcepub fn new() -> ApiV2010AccountIncomingPhoneNumberCapabilities
pub fn new() -> ApiV2010AccountIncomingPhoneNumberCapabilities
The set of Boolean properties that indicate whether a phone number can receive calls or messages. Capabilities are Voice
, SMS
, and MMS
and each capability can be: true
or false
.
Trait Implementations§
Source§impl Clone for ApiV2010AccountIncomingPhoneNumberCapabilities
impl Clone for ApiV2010AccountIncomingPhoneNumberCapabilities
Source§fn clone(&self) -> ApiV2010AccountIncomingPhoneNumberCapabilities
fn clone(&self) -> ApiV2010AccountIncomingPhoneNumberCapabilities
Returns a duplicate 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 ApiV2010AccountIncomingPhoneNumberCapabilities
impl Default for ApiV2010AccountIncomingPhoneNumberCapabilities
Source§fn default() -> ApiV2010AccountIncomingPhoneNumberCapabilities
fn default() -> ApiV2010AccountIncomingPhoneNumberCapabilities
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiV2010AccountIncomingPhoneNumberCapabilities
impl<'de> Deserialize<'de> for ApiV2010AccountIncomingPhoneNumberCapabilities
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiV2010AccountIncomingPhoneNumberCapabilities
impl PartialEq for ApiV2010AccountIncomingPhoneNumberCapabilities
Source§fn eq(&self, other: &ApiV2010AccountIncomingPhoneNumberCapabilities) -> bool
fn eq(&self, other: &ApiV2010AccountIncomingPhoneNumberCapabilities) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ApiV2010AccountIncomingPhoneNumberCapabilities
Auto Trait Implementations§
impl Freeze for ApiV2010AccountIncomingPhoneNumberCapabilities
impl RefUnwindSafe for ApiV2010AccountIncomingPhoneNumberCapabilities
impl Send for ApiV2010AccountIncomingPhoneNumberCapabilities
impl Sync for ApiV2010AccountIncomingPhoneNumberCapabilities
impl Unpin for ApiV2010AccountIncomingPhoneNumberCapabilities
impl UnwindSafe for ApiV2010AccountIncomingPhoneNumberCapabilities
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