[][src]Struct twitchchat::messages::Ping

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

A ping request from the server

This is sent periodically, and handled by the Client internally

But you can use them however you want

Fields

token: Cow<'t, str>

Token associated with the PING event

Trait Implementations

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

type Owned = Ping<'static>

The owned type

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'t> RefUnwindSafe for Ping<'t>

impl<'t> Send for Ping<'t>

impl<'t> Sync for Ping<'t>

impl<'t> Unpin for Ping<'t>

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