[][src]Enum twitchchat::messages::HostTargetKind

pub enum HostTargetKind<'t> {
    Start {
        target: Cow<'t, str>,
    },
    End,
}

Event kind for determine when a Host event beings or end

Variants

Start

The host event started

Fields of Start

target: Cow<'t, str>

Target channel that is being hosted

End

The host event ended

Trait Implementations

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

type Owned = HostTargetKind<'static>

The owned type

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

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

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

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

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

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

Auto Trait Implementations

impl<'t> RefUnwindSafe for HostTargetKind<'t>

impl<'t> Send for HostTargetKind<'t>

impl<'t> Sync for HostTargetKind<'t>

impl<'t> Unpin for HostTargetKind<'t>

impl<'t> UnwindSafe for HostTargetKind<'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.