[−][src]Struct twitchchat::messages::HostTarget
When a channel starts to host another channel
Fields
source: T
Source channel (the one doing the hosting).
viewers: Option<usize>
How many viewers are going along
kind: HostTargetKind<T>
What kind of event this was. e.g. Start
or End
Trait Implementations
impl<T: Clone> Clone for HostTarget<T> where
T: StringMarker,
[src]
T: StringMarker,
fn clone(&self) -> HostTarget<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a, T> Conversion<'a> for HostTarget<T> where
T: StringMarker + Conversion<'a>,
<T as Conversion<'a>>::Borrowed: StringMarker,
<T as Conversion<'a>>::Owned: StringMarker,
[src]
T: StringMarker + Conversion<'a>,
<T as Conversion<'a>>::Borrowed: StringMarker,
<T as Conversion<'a>>::Owned: StringMarker,
type Owned = HostTarget<T::Owned>
The owned type
type Borrowed = HostTarget<T::Borrowed>
The borrowed type
fn as_borrowed(&'a self) -> Self::Borrowed
[src]
fn as_owned(&self) -> Self::Owned
[src]
impl<T: Debug> Debug for HostTarget<T> where
T: StringMarker,
[src]
T: StringMarker,
impl<'de, T> Deserialize<'de> for HostTarget<T> where
T: StringMarker,
T: Deserialize<'de>,
[src]
T: StringMarker,
T: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<'a> From<HostTarget<&'a str>> for HostTarget<String>
[src]
fn from(d: HostTarget<&'a str>) -> HostTarget<String>
[src]
impl<'a> Parse<&'a Message<&'a str>> for HostTarget<&'a str>
[src]
impl<'a> Parse<&'a Message<&'a str>> for HostTarget<String>
[src]
impl<T: PartialEq> PartialEq<HostTarget<T>> for HostTarget<T> where
T: StringMarker,
[src]
T: StringMarker,
fn eq(&self, other: &HostTarget<T>) -> bool
[src]
fn ne(&self, other: &HostTarget<T>) -> bool
[src]
impl<T> Serialize for HostTarget<T> where
T: StringMarker,
T: Serialize,
[src]
T: StringMarker,
T: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<T> StructuralPartialEq for HostTarget<T> where
T: StringMarker,
[src]
T: StringMarker,
Auto Trait Implementations
impl<T> RefUnwindSafe for HostTarget<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for HostTarget<T> where
T: Send,
T: Send,
impl<T> Sync for HostTarget<T> where
T: Sync,
T: Sync,
impl<T> Unpin for HostTarget<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for HostTarget<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,