#[non_exhaustive]
pub enum ChatModeratorActionsReply {
ModerationAction(ModerationAction),
ChannelTermsAction(ChannelTermsAction),
ModeratorAdded(ModeratorAdded),
ModeratorRemoved(ModeratorRemoved),
DenyUnbanRequest(UnbanRequest),
ApproveUnbanRequest(UnbanRequest),
VipAdded(VipAdded),
}
Available on crate feature
pubsub
only.Expand description
Reply from ChatModeratorActions
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ModerationAction(ModerationAction)
A moderation action. moderation_action
ChannelTermsAction(ChannelTermsAction)
A channel term was modified, added or removed
ModeratorAdded(ModeratorAdded)
A moderator was added. moderator_added
ModeratorRemoved(ModeratorRemoved)
A moderator was removed. moderator_removed
DenyUnbanRequest(UnbanRequest)
Unban request denied
ApproveUnbanRequest(UnbanRequest)
Unban request approved
VipAdded(VipAdded)
VIP Added
Trait Implementations
sourceimpl Clone for ChatModeratorActionsReply
impl Clone for ChatModeratorActionsReply
sourcefn clone(&self) -> ChatModeratorActionsReply
fn clone(&self) -> ChatModeratorActionsReply
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 ChatModeratorActionsReply
impl Debug for ChatModeratorActionsReply
sourceimpl<'de> Deserialize<'de> for ChatModeratorActionsReply
impl<'de> Deserialize<'de> for ChatModeratorActionsReply
sourcefn 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
sourceimpl PartialEq<ChatModeratorActionsReply> for ChatModeratorActionsReply
impl PartialEq<ChatModeratorActionsReply> for ChatModeratorActionsReply
sourcefn eq(&self, other: &ChatModeratorActionsReply) -> bool
fn eq(&self, other: &ChatModeratorActionsReply) -> bool
sourceimpl Serialize for ChatModeratorActionsReply
impl Serialize for ChatModeratorActionsReply
impl Eq for ChatModeratorActionsReply
impl StructuralEq for ChatModeratorActionsReply
impl StructuralPartialEq for ChatModeratorActionsReply
Auto Trait Implementations
impl RefUnwindSafe for ChatModeratorActionsReply
impl Send for ChatModeratorActionsReply
impl Sync for ChatModeratorActionsReply
impl Unpin for ChatModeratorActionsReply
impl UnwindSafe for ChatModeratorActionsReply
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.