[−][src]Enum ttv_pubsub::moderation::ModerationActionCommand
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>
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 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
Trait Implementations
impl Clone for ModerationActionCommand[src]
pub fn clone(&self) -> ModerationActionCommand[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ModerationActionCommand[src]
impl<'de> Deserialize<'de> for ModerationActionCommand[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ModerationActionCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<ModerationActionCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Eq for ModerationActionCommand[src]
impl PartialEq<ModerationActionCommand> for ModerationActionCommand[src]
pub fn eq(&self, other: &ModerationActionCommand) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl Serialize for ModerationActionCommand[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl StructuralEq for ModerationActionCommand[src]
impl StructuralPartialEq for ModerationActionCommand[src]
Auto Trait Implementations
impl RefUnwindSafe for ModerationActionCommand
impl Send for ModerationActionCommand
impl Sync for ModerationActionCommand
impl Unpin for ModerationActionCommand
impl UnwindSafe for ModerationActionCommand
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<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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, 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>,