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]

Trait Implementations

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

Formats the value using the given formatter.