Enum threema_gateway::Recipient
source · Expand description
Different ways to specify a message recipient in basic mode.
Variants
Id(Cow<'a, str>)
Recipient identity (8 characters)
Phone(Cow<'a, str>)
Recipient phone number (E.164), without leading +
Email(Cow<'a, str>)
Recipient e-mail address
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Recipient<'a>
impl<'a> Send for Recipient<'a>
impl<'a> Sync for Recipient<'a>
impl<'a> Unpin for Recipient<'a>
impl<'a> UnwindSafe for Recipient<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more