Struct messagebird_async::sms::TelephoneNumber [−][src]
pub struct TelephoneNumber(pub String);
Methods
impl TelephoneNumber
[src]
impl TelephoneNumber
Trait Implementations
impl Debug for TelephoneNumber
[src]
impl Debug for TelephoneNumber
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for TelephoneNumber
[src]
impl Eq for TelephoneNumber
impl PartialEq for TelephoneNumber
[src]
impl PartialEq for TelephoneNumber
fn eq(&self, other: &TelephoneNumber) -> bool
[src]
fn eq(&self, other: &TelephoneNumber) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TelephoneNumber) -> bool
[src]
fn ne(&self, other: &TelephoneNumber) -> bool
This method tests for !=
.
impl FromStr for TelephoneNumber
[src]
impl FromStr for TelephoneNumber
type Err = MessageBirdError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl From<TelephoneNumber> for Originator
[src]
impl From<TelephoneNumber> for Originator
fn from(telephonenumber: TelephoneNumber) -> Self
[src]
fn from(telephonenumber: TelephoneNumber) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for TelephoneNumber
impl Send for TelephoneNumber
impl Sync for TelephoneNumber
impl Sync for TelephoneNumber