[][src]Struct twitchchat::messages::UserNotice

pub struct UserNotice<T = String> where
    T: StringMarker
{ pub tags: Tags<T>, pub channel: T, pub message: Option<T>, }

Announces Twitch-specific events to the channel (e.g., a user's subscription notification).

Fields

tags: Tags<T>

Tags attached to this message

channel: T

Channel this event is happening on

message: Option<T>

Optional message attached to the event

Trait Implementations

impl<T: Clone> Clone for UserNotice<T> where
    T: StringMarker
[src]

impl<'a, T> Conversion<'a> for UserNotice<T> where
    T: StringMarker + Conversion<'a>,
    <T as Conversion<'a>>::Borrowed: StringMarker,
    <T as Conversion<'a>>::Owned: StringMarker
[src]

type Owned = UserNotice<T::Owned>

The owned type

type Borrowed = UserNotice<T::Borrowed>

The borrowed type

impl<T: Debug> Debug for UserNotice<T> where
    T: StringMarker
[src]

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

impl<'a> From<UserNotice<&'a str>> for UserNotice<String>[src]

impl<'a> Parse<&'a Message<&'a str>> for UserNotice<&'a str>[src]

impl<'a> Parse<&'a Message<&'a str>> for UserNotice<String>[src]

impl<T: PartialEq> PartialEq<UserNotice<T>> for UserNotice<T> where
    T: StringMarker
[src]

impl<T> Serialize for UserNotice<T> where
    T: StringMarker,
    T: Serialize
[src]

impl<T> StructuralPartialEq for UserNotice<T> where
    T: StringMarker
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for UserNotice<T> where
    T: RefUnwindSafe

impl<T> Send for UserNotice<T> where
    T: Send

impl<T> Sync for UserNotice<T> where
    T: Sync

impl<T> Unpin for UserNotice<T> where
    T: Unpin

impl<T> UnwindSafe for UserNotice<T> where
    T: UnwindSafe

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: 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.