Enum twitch_api2::pubsub::moderation::ModerationActionCommand [−][src]
#[non_exhaustive] pub enum ModerationActionCommand {}Show variants
Delete, Timeout, Untimeout, Mod, Unmod, ModifiedAutomodProperties, Ban, Unban, AutomodRejected, AddPermittedTerm, DeletePermittedTerm, AddBlockedTerm, DeleteBlockedTerm, ApproveAutomodMessage, DeniedAutomodMessage, Raid, Slow, SlowOff, Followers, FollowersOff, Subscribers, SubscribersOff, EmoteOnly, EmoteOnlyOff, Clear, R9KBeta, R9KBetaOff, Vip, Unvip, Host, Unhost, ApproveUnbanRequest, DenyUnbanRequest,
pubsub
only.A command
Variants (Non-exhaustive)
Delete
Given when a message is deleted with /delete <msg-id>
Timeout
Given when a user is timed-out with /timeout <user> <time> <reason>
Untimeout
Given when a user is unbanned while under a timeout /untimeout <user>
or /unban <user>
Mod
Given when a user is added as a moderator. /mod <user>
.
See ChatModeratorActionsReply::ModeratorAdded where this is given
Unmod
Given when a user is removed as a moderator, /unmod <user>
Modified automod properties
Given when automod config is changed. I.e filtering changed etc
Ban
Given when a user is banned with /timeout <user> <reason>
Unban
Given when a user is unbanned with /unban <user>
or /untimeout <user>
Automod message rejected
Automod permitted term added
Automod permitted term removed
Automod blocked term added
Automod blocked term removed
Automod message approved
Automod message denied
Raid
Given when editor/broadcaster does /raid <channel>
Slow-mode chat enabled
Slow-mode chat disabled
Followers-only chat enabled
Followers-only chat disabled
Subscriber-only chat enabled
Subscriber-only chat disabled
Emote-only chat enabled
Emote-only chat disabled
Chat cleared for all viewers
Unique chat enabled
Unique chat disabled
User added as VIP
User removed as VIP
Channel host started
Channel host removed
Unban Request Approved
Unban Request Denied
Trait Implementations
impl Clone for ModerationActionCommand
[src]
impl Clone for ModerationActionCommand
[src]fn clone(&self) -> ModerationActionCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ModerationActionCommand
[src]
impl<'de> Deserialize<'de> for ModerationActionCommand
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ModerationActionCommand
[src]
impl Eq for ModerationActionCommand
[src]impl Serialize for ModerationActionCommand
[src]
impl Serialize for ModerationActionCommand
[src]impl StructuralEq for ModerationActionCommand
[src]
impl StructuralEq for ModerationActionCommand
[src]Auto Trait Implementations
impl RefUnwindSafe for ModerationActionCommand
impl RefUnwindSafe for ModerationActionCommand
impl Send for ModerationActionCommand
impl Send for ModerationActionCommand
impl Sync for ModerationActionCommand
impl Sync for ModerationActionCommand
impl Unpin for ModerationActionCommand
impl Unpin for ModerationActionCommand
impl UnwindSafe for ModerationActionCommand
impl UnwindSafe for ModerationActionCommand
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,