Enum threema_gateway::Recipient [] [src]

pub enum Recipient<'a> {
    Id(Cow<'a, str>),
    Phone(Cow<'a, str>),
    Email(Cow<'a, str>),
}

Different ways to specify a message recipient in basic mode.

Variants

Recipient identity (8 characters)

Recipient phone number (E.164), without leading +

Recipient e-mail address

Methods

impl<'a> Recipient<'a>
[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> Debug for Recipient<'a>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Recipient<'a>

impl<'a> Sync for Recipient<'a>