[][src]Struct twitchchat::commands::GlobalUserState

pub struct GlobalUserState {
    pub tags: Tags,
}

Sent on successful login, if TAGs caps have been sent beforehand

Fields

tags: Tags

IRC tags

Methods

impl GlobalUserState[src]

pub fn badges(&self) -> Vec<Badge>[src]

List of badges your user has

pub fn color(&self) -> Option<TwitchColor>[src]

Your color, if set

pub fn display_name(&self) -> Option<&str>[src]

Your dusplay name, if set

pub fn emote_sets(&self) -> Vec<u64>[src]

Your emote sets

pub fn user_id(&self) -> u64[src]

Your user id

Trait Implementations

impl Tag for GlobalUserState[src]

impl PartialEq<GlobalUserState> for GlobalUserState[src]

impl From<Message> for GlobalUserState[src]

impl Clone for GlobalUserState[src]

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

Performs copy-assignment from source. Read more

impl Debug for GlobalUserState[src]

Auto Trait Implementations

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.