Struct twitch_api::pubsub::moderation::ChatModeratorActions
source · [−]Available on crate feature
pubsub
only.Expand description
A moderator performs an action in the channel.
Fields
user_id: u32
The user_id to listen as. Can be fetched with the Get Users endpoint
channel_id: u32
The channel_id to listen to. Can be fetched with the Get Users endpoint
Trait Implementations
sourceimpl Clone for ChatModeratorActions
impl Clone for ChatModeratorActions
sourcefn clone(&self) -> ChatModeratorActions
fn clone(&self) -> ChatModeratorActions
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 ChatModeratorActions
impl Debug for ChatModeratorActions
sourceimpl<'de> Deserialize<'de> for ChatModeratorActions
impl<'de> Deserialize<'de> for ChatModeratorActions
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 Display for ChatModeratorActions
impl Display for ChatModeratorActions
sourceimpl<'a> From<&'a ChatModeratorActions> for String
impl<'a> From<&'a ChatModeratorActions> for String
sourcefn from(t: &'a ChatModeratorActions) -> Self
fn from(t: &'a ChatModeratorActions) -> Self
Converts to this type from the input type.
sourceimpl From<ChatModeratorActions> for String
impl From<ChatModeratorActions> for String
sourcefn from(t: ChatModeratorActions) -> Self
fn from(t: ChatModeratorActions) -> Self
Converts to this type from the input type.
sourceimpl From<ChatModeratorActions> for Topics
impl From<ChatModeratorActions> for Topics
sourcefn from(t: ChatModeratorActions) -> Self
fn from(t: ChatModeratorActions) -> Self
Converts to this type from the input type.
sourceimpl Hash for ChatModeratorActions
impl Hash for ChatModeratorActions
sourceimpl PartialEq<ChatModeratorActions> for ChatModeratorActions
impl PartialEq<ChatModeratorActions> for ChatModeratorActions
sourcefn eq(&self, other: &ChatModeratorActions) -> bool
fn eq(&self, other: &ChatModeratorActions) -> bool
sourceimpl Serialize for ChatModeratorActions
impl Serialize for ChatModeratorActions
sourceimpl Topic for ChatModeratorActions
impl Topic for ChatModeratorActions
sourceimpl TryFrom<String> for ChatModeratorActions
impl TryFrom<String> for ChatModeratorActions
impl Eq for ChatModeratorActions
impl StructuralEq for ChatModeratorActions
impl StructuralPartialEq for ChatModeratorActions
Auto Trait Implementations
impl RefUnwindSafe for ChatModeratorActions
impl Send for ChatModeratorActions
impl Sync for ChatModeratorActions
impl Unpin for ChatModeratorActions
impl UnwindSafe for ChatModeratorActions
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.