[][src]Struct twitchchat::messages::Pong

pub struct Pong<'t> {
    pub token: Cow<'t, str>,
}

A pong response sent from the server

This should be a response to sending a PING to the server

Fields

token: Cow<'t, str>

Token associated with the PONG event

Trait Implementations

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

type Owned = Pong<'static>

The owned type

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'t> RefUnwindSafe for Pong<'t>

impl<'t> Send for Pong<'t>

impl<'t> Sync for Pong<'t>

impl<'t> Unpin for Pong<'t>

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