Enum messagebird_async::sms::QueryRecipient
source · Expand description
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
sourceimpl Clone for QueryRecipient
impl Clone for QueryRecipient
sourcefn clone(&self) -> QueryRecipient
fn clone(&self) -> QueryRecipient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for QueryRecipient
impl Debug for QueryRecipient
sourceimpl From<Group> for QueryRecipient
impl From<Group> for QueryRecipient
sourceimpl From<Msisdn> for QueryRecipient
impl From<Msisdn> for QueryRecipient
sourceimpl From<Recipient> for QueryRecipient
impl From<Recipient> for QueryRecipient
sourceimpl FromStr for QueryRecipient
impl FromStr for QueryRecipient
sourceimpl PartialEq<QueryRecipient> for QueryRecipient
impl PartialEq<QueryRecipient> for QueryRecipient
sourcefn eq(&self, other: &QueryRecipient) -> bool
fn eq(&self, other: &QueryRecipient) -> bool
sourceimpl Serialize for QueryRecipient
impl Serialize for QueryRecipient
sourceimpl ToString for QueryRecipient
impl ToString for QueryRecipient
impl Eq for QueryRecipient
impl StructuralEq for QueryRecipient
impl StructuralPartialEq for QueryRecipient
Auto Trait Implementations
impl RefUnwindSafe for QueryRecipient
impl Send for QueryRecipient
impl Sync for QueryRecipient
impl Unpin for QueryRecipient
impl UnwindSafe for QueryRecipient
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.