[][src]Struct twitchchat::messages::Part

pub struct Part<'t> {
    pub name: Cow<'t, str>,
    pub channel: Cow<'t, str>,
}

User leave message

The happens when a user (yourself included) leaves a channel

Fields

name: Cow<'t, str>

Name of the user that left the channel

channel: Cow<'t, str>

Channel which they left

Trait Implementations

impl<'t> AsOwned for Part<'t>[src]

type Owned = Part<'static>

The owned type

impl<'t> Clone for Part<'t>[src]

impl<'t> Debug for Part<'t>[src]

impl<'de, 't> Deserialize<'de> for Part<'t>[src]

impl<'t> From<Part<'t>> for AllCommands<'t>[src]

impl<'a: 't, 't> Parse<&'a Message<'t>> for Part<'t>[src]

impl<'t> PartialEq<Part<'t>> for Part<'t>[src]

impl<'t> Serialize for Part<'t>[src]

impl<'t> StructuralPartialEq for Part<'t>[src]

Auto Trait Implementations

impl<'t> RefUnwindSafe for Part<'t>

impl<'t> Send for Part<'t>

impl<'t> Sync for Part<'t>

impl<'t> Unpin for Part<'t>

impl<'t> UnwindSafe for Part<'t>

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.