[][src]Struct twitchchat::messages::Ready

pub struct Ready<T = String> where
    T: StringMarker
{ pub username: T, }

Happens when the Twitch connection has been succesfully established

Fields

username: T

The name Twitch will refer to you as

Trait Implementations

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

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

type Owned = Ready<T::Owned>

The owned type

type Borrowed = Ready<T::Borrowed>

The borrowed type

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for Ready<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.