Enum messagebird_async::sms::QueryRecipient [−][src]
recpient for sending a message
Differs from the message format, such that it will serialize to a string and can also be a group
Variants
Group(Group)
Msisdn(Msisdn)
Trait Implementations
impl Clone for QueryRecipient
[src]
impl Clone for QueryRecipient
fn clone(&self) -> QueryRecipient
[src]
fn clone(&self) -> QueryRecipient
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for QueryRecipient
[src]
impl Debug for QueryRecipient
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 QueryRecipient
[src]
impl Eq for QueryRecipient
impl PartialEq for QueryRecipient
[src]
impl PartialEq for QueryRecipient
fn eq(&self, other: &QueryRecipient) -> bool
[src]
fn eq(&self, other: &QueryRecipient) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &QueryRecipient) -> bool
[src]
fn ne(&self, other: &QueryRecipient) -> bool
This method tests for !=
.
impl From<Recipient> for QueryRecipient
[src]
impl From<Recipient> for QueryRecipient
impl ToString for QueryRecipient
[src]
impl ToString for QueryRecipient
impl FromStr for QueryRecipient
[src]
impl FromStr for QueryRecipient
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<Msisdn> for QueryRecipient
[src]
impl From<Msisdn> for QueryRecipient
impl From<Group> for QueryRecipient
[src]
impl From<Group> for QueryRecipient
impl Serialize for QueryRecipient
[src]
impl Serialize for QueryRecipient
Auto Trait Implementations
impl Send for QueryRecipient
impl Send for QueryRecipient
impl Sync for QueryRecipient
impl Sync for QueryRecipient