pub enum QueryRecipient {
Group(Group),
Msisdn(Msisdn),
}
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§
Trait Implementations§
Source§impl Clone for QueryRecipient
impl Clone for QueryRecipient
Source§fn clone(&self) -> QueryRecipient
fn clone(&self) -> QueryRecipient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for QueryRecipient
impl Debug for QueryRecipient
Source§impl From<Group> for QueryRecipient
impl From<Group> for QueryRecipient
Source§impl From<Msisdn> for QueryRecipient
impl From<Msisdn> for QueryRecipient
Source§impl From<Recipient> for QueryRecipient
impl From<Recipient> for QueryRecipient
Source§impl FromStr for QueryRecipient
impl FromStr for QueryRecipient
Source§impl PartialEq for QueryRecipient
impl PartialEq for QueryRecipient
Source§impl Serialize for QueryRecipient
impl Serialize for QueryRecipient
Source§impl ToString for QueryRecipient
impl ToString for QueryRecipient
impl Eq for QueryRecipient
impl StructuralPartialEq for QueryRecipient
Auto Trait Implementations§
impl Freeze for QueryRecipient
impl RefUnwindSafe for QueryRecipient
impl Send for QueryRecipient
impl Sync for QueryRecipient
impl Unpin for QueryRecipient
impl UnwindSafe for QueryRecipient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.