Struct twitch_api2::tmi::Chatters [−][src]
pub struct Chatters { pub broadcaster: Vec<Nickname>, pub vips: Vec<Nickname>, pub moderators: Vec<Nickname>, pub staff: Vec<Nickname>, pub admins: Vec<Nickname>, pub global_mods: Vec<Nickname>, pub viewers: Vec<Nickname>, }
tmi
only.List of “rank“s and what users are in them. A user can only be in one
Fields
broadcaster: Vec<Nickname>
Broadcaster, can (probably) only be one
vips: Vec<Nickname>
VIPS in the chat, have the VIP badge and are set with /vip username
moderators: Vec<Nickname>
Moderators in the chat, have a moderator badge and are set with /mod username
staff: Vec<Nickname>
Twitch Staff in the chat, have a staff badge.
admins: Vec<Nickname>
Twitch Admins in the chat, have an admin badge, akin to Chatters::global_mods.
global_mods: Vec<Nickname>
Twitch Global Moderators in the chat, have an admin badge, akin to Chatters::global_mods.
viewers: Vec<Nickname>
Regular viewer in the chat, includes followers and subscribers.
Trait Implementations
impl<'de> Deserialize<'de> for Chatters
[src]
impl<'de> Deserialize<'de> for Chatters
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Chatters
impl Send for Chatters
impl Sync for Chatters
impl Unpin for Chatters
impl UnwindSafe for Chatters
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = 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]fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,