pub enum ReactionUnavailabilityReason {
AnonymousAdministrator,
Guest,
}
Variants§
AnonymousAdministrator
The user is an anonymous administrator in the supergroup, but isn’t a creator of it, so they can’t vote on behalf of the supergroup
Guest
The user isn’t a member of the supergroup and can’t send messages and reactions there without joining
Trait Implementations§
Source§fn clone(&self) -> ReactionUnavailabilityReason
fn clone(&self) -> ReactionUnavailabilityReason
Returns a duplicate 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§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn eq(&self, other: &ReactionUnavailabilityReason) -> bool
fn eq(&self, other: &ReactionUnavailabilityReason) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Auto Trait Implementations§
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