[][src]Struct twitchchat::commands::NamesStart

pub struct NamesStart {
    pub user: String,
    pub channel: String,
    pub users: Vec<String>,
}

List current chatters in a channel. (marks the start begin)

If there are more than 1000 chatters in a room, NAMES return only the list of operator privileges currently in the room.

The server will send these until it sends a NamesEnd for the same channel

Listen for this and keep track of the users and once you received NamedEnd you've gotten all of the users

Fields

user: String

Your user for this event

channel: String

The channel this event is happening on

users: Vec<String>

List of users returned by this

Methods

impl NamesStart[src]

pub fn user(&self) -> &str[src]

Your user for this event

pub fn channel(&self) -> &str[src]

The channel this event is happening on

pub fn users(&self) -> &[String][src]

List of users returned by this

Trait Implementations

impl PartialEq<NamesStart> for NamesStart[src]

impl From<Message> for NamesStart[src]

impl Clone for NamesStart[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NamesStart[src]

Auto Trait Implementations

impl Send for NamesStart

impl Sync for NamesStart

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.