Struct messagebird_async::sms::Msisdn [−][src]
pub struct Msisdn(_);
Methods
impl Msisdn
[src]
impl Msisdn
Mobile Subscriber Integrated Services Digital Network Number
A worldwide unique phone number. This does not require a +
or 00
prefix before the country code.
pub fn new(raw: u64) -> Result<Self, MessageBirdError>
[src]
pub fn new(raw: u64) -> Result<Self, MessageBirdError>
Methods from Deref<Target = u64>
Trait Implementations
impl Debug for Msisdn
[src]
impl Debug for Msisdn
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 Msisdn
[src]
impl Eq for Msisdn
impl PartialEq for Msisdn
[src]
impl PartialEq for Msisdn
fn eq(&self, other: &Msisdn) -> bool
[src]
fn eq(&self, other: &Msisdn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Msisdn) -> bool
[src]
fn ne(&self, other: &Msisdn) -> bool
This method tests for !=
.
impl Deref for Msisdn
[src]
impl Deref for Msisdn
type Target = u64
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl FromStr for Msisdn
[src]
impl FromStr for Msisdn
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 ToString for Msisdn
[src]
impl ToString for Msisdn