Enum twitch_api::pubsub::user_moderation_notifications::UserModerationNotificationsReply
source · [−]#[non_exhaustive]
pub enum UserModerationNotificationsReply {
AutoModCaught {
message_id: MsgId,
status: AutomodStatus,
},
}
Available on crate feature
pubsub
only.Expand description
Reply from UserModerationNotifications
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.
AutoModCaught
Message held by automod
Trait Implementations
sourceimpl Clone for UserModerationNotificationsReply
impl Clone for UserModerationNotificationsReply
sourcefn clone(&self) -> UserModerationNotificationsReply
fn clone(&self) -> UserModerationNotificationsReply
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<'de> Deserialize<'de> for UserModerationNotificationsReply
impl<'de> Deserialize<'de> for UserModerationNotificationsReply
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<UserModerationNotificationsReply> for UserModerationNotificationsReply
impl PartialEq<UserModerationNotificationsReply> for UserModerationNotificationsReply
sourcefn eq(&self, other: &UserModerationNotificationsReply) -> bool
fn eq(&self, other: &UserModerationNotificationsReply) -> bool
impl Eq for UserModerationNotificationsReply
impl StructuralEq for UserModerationNotificationsReply
impl StructuralPartialEq for UserModerationNotificationsReply
Auto Trait Implementations
impl RefUnwindSafe for UserModerationNotificationsReply
impl Send for UserModerationNotificationsReply
impl Sync for UserModerationNotificationsReply
impl Unpin for UserModerationNotificationsReply
impl UnwindSafe for UserModerationNotificationsReply
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.