Enum messagebird_async::sms::QueryRecipient[][src]

pub enum QueryRecipient {
    Group(Group),
    Msisdn(Msisdn),
}

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

Trait Implementations

impl Clone for QueryRecipient
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for QueryRecipient
[src]

Formats the value using the given formatter. Read more

impl Eq for QueryRecipient
[src]

impl PartialEq for QueryRecipient
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Recipient> for QueryRecipient
[src]

Performs the conversion.

impl ToString for QueryRecipient
[src]

Converts the given value to a String. Read more

impl FromStr for QueryRecipient
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl From<Msisdn> for QueryRecipient
[src]

Performs the conversion.

impl From<Group> for QueryRecipient
[src]

Performs the conversion.

impl Serialize for QueryRecipient
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations