Enum twitch_api2::pubsub::moderation::ModerationActionCommand [−][src]
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]
fn clone(&self) -> ModerationActionCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug 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 Display for ModerationActionCommand
[src]
impl Eq for ModerationActionCommand
[src]
impl PartialEq<ModerationActionCommand> for ModerationActionCommand
[src]
fn eq(&self, other: &ModerationActionCommand) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for ModerationActionCommand
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ModerationActionCommand
[src]
impl StructuralPartialEq for ModerationActionCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for ModerationActionCommand
[src]
impl Send for ModerationActionCommand
[src]
impl Sync for ModerationActionCommand
[src]
impl Unpin for ModerationActionCommand
[src]
impl UnwindSafe for ModerationActionCommand
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> 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]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,