[−][src]Struct twitchchat::messages::Names
The names event
This'll will list people on a channel for your user
The kind
field lets you determine if its still 'happening'
Your should keep a list of the names from the Start
variant
And once you receive an End you'll have the complete lost
Fields
user: T
Your username
channel: T
The channel this event is happening for
kind: NamesKind<T>
The state of the event
Trait Implementations
impl<T: Clone> Clone for Names<T> where
T: StringMarker,
[src]
T: StringMarker,
impl<'a, T> Conversion<'a> for Names<T> where
T: StringMarker + Conversion<'a>,
<T as Conversion<'a>>::Borrowed: StringMarker,
<T as Conversion<'a>>::Owned: StringMarker,
[src]
T: StringMarker + Conversion<'a>,
<T as Conversion<'a>>::Borrowed: StringMarker,
<T as Conversion<'a>>::Owned: StringMarker,
type Owned = Names<T::Owned>
The owned type
type Borrowed = Names<T::Borrowed>
The borrowed type
fn as_borrowed(&'a self) -> Self::Borrowed
[src]
fn as_owned(&self) -> Self::Owned
[src]
impl<T: Debug> Debug for Names<T> where
T: StringMarker,
[src]
T: StringMarker,
impl<'de, T> Deserialize<'de> for Names<T> where
T: StringMarker,
T: Deserialize<'de>,
[src]
T: StringMarker,
T: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> From<Names<&'a str>> for Names<String>
[src]
impl<'a> Parse<&'a Message<&'a str>> for Names<&'a str>
[src]
impl<'a> Parse<&'a Message<&'a str>> for Names<String>
[src]
impl<T: PartialEq> PartialEq<Names<T>> for Names<T> where
T: StringMarker,
[src]
T: StringMarker,
impl<T> Serialize for Names<T> where
T: StringMarker,
T: Serialize,
[src]
T: StringMarker,
T: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<T> StructuralPartialEq for Names<T> where
T: StringMarker,
[src]
T: StringMarker,
Auto Trait Implementations
impl<T> RefUnwindSafe for Names<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Names<T> where
T: Send,
T: Send,
impl<T> Sync for Names<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Names<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Names<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,